@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #800080;
    --primary-light: #a64ca6;
    --primary-dark: #4a0048;
    --accent: #ff6b6b;
    --accent-light: #ff8e8e;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    --gradient-primary: linear-gradient(135deg, #800080 0%, #a64ca6 50%, #ff6b6b 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-purple: 0 20px 40px -12px rgba(128, 0, 128, 0.4);

    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 32px;
}

body {
    font-family: 'Popins', sans-serif !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
    animation: academy-loading 0.5s ease-in;
}

/* Custom Scrollbar */
/* ::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
} */

html {
    scrollbar-color: #800080 #fff !important;
}

/* Hero Section */
.academy-hero {
    /* min-height: 85vh; */
    height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.academy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(128, 0, 128, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(166, 76, 166, 0.2) 0%, transparent 50%);
    animation: academy-gradientShift 10s ease-in-out infinite alternate;
}

@keyframes academy-gradientShift {
    0% {
        transform: translateX(-10px) translateY(-10px);
    }

    100% {
        transform: translateX(10px) translateY(10px);
    }
}

.academy-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.academy-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: academy-float 6s ease-in-out infinite;
}

.academy-particle:nth-child(1) {
    left: 20%;
    top: 20%;
    animation-delay: 0s;
}

.academy-particle:nth-child(2) {
    left: 70%;
    top: 30%;
    animation-delay: 2s;
}

.academy-particle:nth-child(3) {
    left: 50%;
    top: 70%;
    animation-delay: 4s;
}

.academy-particle:nth-child(4) {
    left: 80%;
    top: 60%;
    animation-delay: 1s;
}

.academy-particle:nth-child(5) {
    left: 30%;
    top: 80%;
    animation-delay: 3s;
}

@keyframes academy-float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

.academy-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.academy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: academy-slideUp 0.8s ease-out 0.2s both;
}

.academy-hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: academy-slideUp 0.8s ease-out 0.4s both;
}

.academy-hero-subtitle {
    padding-top: 1%;
    font-size: 2.rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: academy-slideUp 0.8s ease-out 0.6s both;
}

.academy-hero-cta {
    padding-top: 2%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    animation: academy-slideUp 0.8s ease-out 0.8s both;
}

.academy-btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.3rem 2.5rem;
    text-decoration: none;
    border-radius: 0 0 20px 0;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    /* box-shadow: var(--shadow-purple); */
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.academy-btn-primary::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.academy-btn-primary:hover::before {
    left: 100%;
}

.academy-btn-primary:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 25px 50px -12px rgba(128, 0, 128, 0.8);
}

.academy-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 0 0 20px 0;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.academy-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-3px);
}

@keyframes academy-slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
.academy-section {
    padding: 7rem 0;
    position: relative;
}

.academy-section-alt {
    background: var(--gray-50);
}

.academy-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.academy-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.academy-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(128, 0, 128, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.academy-section-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 1%;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.academy-section-subtitle {
    font-size: 1.8rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1%;
    line-height: 1.6;
}

/* Offerings Grid */
.academy-offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.academy-offering-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    /* max-width: 28rem; */
}

.academy-offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.academy-offering-card:hover::before {
    /* Enable for animation for section - For Individuals */
    /* transform: scaleX(1); */
}

.academy-offering-card:hover {
    /* Enable for animation for section - For Individuals */
    /* transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(128, 0, 128, 0.2); */
}

.academy-card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 4rem;
    box-shadow: var(--shadow-purple);
}

.academy-card-title {
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.8;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.academy-card-description {
    font-size: 1.5rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.academy-card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.academy-card-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* Institutes Section */
.academy-institutes {
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.academy-institutes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(128, 0, 128, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 107, 0.2) 0%, transparent 50%);
}

.academy-institutes .academy-section-title {
    color: var(--white);
}

.academy-institutes .academy-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.academy-institutes .academy-section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.academy-institutes-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.academy-institutes-text {
    font-size: 2rem;
    line-height: 1.7;
    /* max-width: 800px; */
    margin: 2rem auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Why Choose Section */
.academy-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.academy-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem 4rem;
    padding-bottom: 0;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.academy-feature-item:hover {
    /* Enable for animation for section - Why Choose Us */
    /* transform: translateY(-4px);
    box-shadow: var(--shadow-lg); */
}

.academy-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-purple);
}

.academy-feature-content h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    line-height: 3rem;
}

.academy-feature-content p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 1.5rem;
}

/* Contact Section */
.academy-contact {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.academy-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.academy-contact .academy-section-title {
    color: var(--white);
}

.academy-contact .academy-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.academy-contact-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.academy-contact-text {
    margin-bottom: 5rem;
    color: rgba(255, 255, 255, 0.9);

}

.academy-contact .academy-btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.academy-contact .academy-btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Modal Styles */
.academy-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.academy-modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.academy-modal-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 2rem;
}

.academy-modal-overlay.show .academy-modal-container {
    transform: scale(1) translateY(0);
}

.academy-modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.academy-modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.academy-modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.academy-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.academy-modal-content {
    padding: 0;
    height: 75vh;
    overflow: hidden;
    position: relative;
}

.academy-form-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.academy-form-iframe.loaded {
    opacity: 1;
}

/* Loading spinner */
.academy-form-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    gap: 1rem;
    z-index: 1;
}

.academy-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .academy-modal-container {
        width: 95%;
        max-height: 85vh;
        margin: 1rem;
    }
    
    .academy-modal-header {
        padding: 1.5rem 2rem;
    }
    
    .academy-modal-title {
        font-size: 2rem;
    }
    
    .academy-modal-close {
        font-size: 2.5rem;
        width: 35px;
        height: 35px;
    }
    
    .academy-modal-content {
        height: 65vh;
    }
}

@media (max-width: 480px) {
    .academy-modal-container {
        width: 98%;
        margin: 0.5rem;
    }
    
    .academy-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .academy-modal-title {
        font-size: 1.8rem;
    }
    
    .academy-modal-content {
        height: 60vh;
    }
}


.color-2 {
    color: #fff;
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .academy-hero {
        height: 70vh;
    }

    body {
        top: -15px;
    }

    html {
        background-color: #161819;
    }
}

.padding-1 {
    padding-left: 2.89rem;
    padding-right: 2.89rem;
}

.padding-2 {
    padding-left: 4rem;
    padding-right: 4rem;
}

.heading-size-sm {
    font-size: 2rem;
}

.main-navigation .nav-cta a:hover {
    background-color: #fff !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.social-share a:hover {
    color: var(--primary) !important;
}

.header-top-nav a:hover,
.header-top__social-share a:hover {
    color: var(--primary) !important;
}

.header-top__social-share .fab:hover {
    color: var(--primary) !important;
}

.main-navigation>li>a:hover {
    color: var(--primary) !important;
}

.footer-logo:hover {
    color: #800080;
}

