/* Main Styling */
:root {
    --primary-gradient: linear-gradient(to right, #fd1d1d, #ff50fb);
    --black: #333;
    --white: #fff;
    --light-bg: #f8f9fa;
    --light-text: #333;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-bg: rgba(255, 255, 255, 0.9);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --muted-text: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background-color: var(--light-bg);
    color: var(--light-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--black);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    color: var(--black);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

section {
    padding: 100px 0;
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand h2 {
    margin-bottom: 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    color: var(--black) !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

/* Phone in Navbar */
.phone-item .nav-link {
    color: var(--primary-gradient) !important;
    font-weight: 600;
}

.phone-item .nav-link i {
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

/* Logo Styling */
.logo {
    max-height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.footer-logo {
    max-height: 70px;
    margin-bottom: 15px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://source.unsplash.com/random/1920x1080/?university,campus') no-repeat center center/cover;
    padding: 150px 0 100px;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--black);
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 5px 15px rgba(253, 29, 29, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 10px 25px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(253, 29, 29, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--primary-gradient);
    color: var(--black);
    background: transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 10px 25px;
}

.btn-outline-light:hover {
    background: rgba(255, 80, 251, 0.1);
    transform: translateY(-3px);
}

/* Enquiry Form */
.enquiry-form-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 30px var(--shadow-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enquiry-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.enquiry-form-card h3 {
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--black);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 80, 251, 0.4);
    box-shadow: 0 0 0 0.25rem rgba(255, 80, 251, 0.15);
    color: var(--black);
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-label {
    color: var(--black);
    font-weight: 500;
}

.offer-section {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.offer-section p {
    margin-bottom: 5px;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px var(--shadow-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.glass-card h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--black);
}

.glass-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--light-text);
}

.how-it-works {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.how-it-works h4 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.how-it-works h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
}

.pay-badge {
    display: inline-block;
    margin-top: 20px;
    background: var(--primary-gradient);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(253, 29, 29, 0.3);
}

/* Pay After Placement Section */
.pay-after-placement {
    background-color: #f0f0f0;
    background-image: url('https://source.unsplash.com/random/1920x1080/?students,graduate');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
}

.pay-after-placement:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
}

.pay-after-placement .container {
    position: relative;
}

/* Placements Section */
.placements-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.placements-section:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(253, 29, 29, 0.05) 0%, rgba(255, 80, 251, 0.05) 100%);
    z-index: 0;
}

.placements-section .container {
    position: relative;
    z-index: 1;
}

.company-logo {
    height: 100px;
    margin: 15px auto;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.company-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

/* Programs Section */
.programs-section {
    background-color: #fff;
}

.feature-box {
    padding: 30px 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-box h4 {
    font-size: 1rem;
    font-weight: 600;
}

.degree-type {
    margin: 50px 0 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.degree-type:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
}

.program-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px var(--shadow-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: rgba(255, 80, 251, 0.2);
}

.program-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--black);
}

.duration {
    display: inline-block;
    background: rgba(0, 0, 0, 0.05);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--black);
}

.btn-outline-primary {
    color: var(--black);
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
                var(--primary-gradient) border-box;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

/* Call to Action Section */
.cta-section {
    background: var(--primary-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/random/1920x1080/?university,graduation') no-repeat center center/cover;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

/* Footer */
.footer {
    background-color: #f0f0f0;
    padding: 80px 0 30px;
    color: var(--light-text);
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--black);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: '>';
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ff50fb;
    padding-left: 20px;
}

.footer-links a:hover:before {
    color: #fd1d1d;
}

.copyright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    color: var(--muted-text);
}

/* Apply Now Float Button */
.apply-now-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    padding: 10px 20px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.apply-now-float:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: var(--white);
}

.apply-now-float span {
    animation: pulse 1.5s infinite;
}

/* Form Popup Modal */
.form-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    justify-content: center;
    align-items: center;
}

.form-popup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 40px 0;
}

.form-popup-content {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 15px 30px var(--shadow-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.form-popup-overlay.active .form-popup-content {
    transform: scale(1);
    opacity: 1;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--black);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

@media (max-width: 576px) {
    .form-popup-content {
        width: 90%;
        padding: 20px 15px;
    }
}

/* Animation keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }

    .glass-card {
        padding: 30px 20px;
    }

    .glass-card h2 {
        font-size: 2rem;
    }

    .glass-card h3 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 70px 0;
    }

    .feature-box {
        padding: 20px 10px;
    }

    .program-card {
        padding: 20px 15px;
    }

    .footer {
        text-align: center;
    }

    .footer-links {
        margin-bottom: 30px;
    }
}

/* Logo Slider */
.logo-slider-container {
    margin: 40px auto;
    max-width: 900px;
}

.logo-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* Reduced from 180px */
    padding: 15px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    margin: 10px auto;
    max-width: 200px; /* Reduced from 250px */
    transition: transform 0.3s ease;
}

.logo-slide img {
    max-height: 80px; /* Reduced from 120px */
    max-width: 100%;
    object-fit: contain;
}

#companyLogoSlider .carousel-indicators {
    position: relative;
    margin-top: 20px;
    margin-bottom: 0;
}

#companyLogoSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 5px;
}

#companyLogoSlider .carousel-indicators button.active {
    background: var(--primary-gradient);
}

#companyLogoSlider .carousel-control-prev,
#companyLogoSlider .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

#companyLogoSlider .carousel-control-prev {
    left: -50px;
}

#companyLogoSlider .carousel-control-next {
    right: -50px;
}

#companyLogoSlider .carousel-control-prev:hover,
#companyLogoSlider .carousel-control-next:hover {
    background: var(--primary-gradient);
    opacity: 1;
}

@media (max-width: 991px) {
    #companyLogoSlider .carousel-control-prev {
        left: -20px;
    }
    
    #companyLogoSlider .carousel-control-next {
        right: -20px;
    }
    
    .logo-slide {
        height: 100px; /* Reduced from 150px */
        padding: 10px;
    }
}

@media (max-width: 767px) {
    #companyLogoSlider .carousel-control-prev,
    #companyLogoSlider .carousel-control-next {
        display: none;
    }
    
    .logo-slide {
        height: 90px; /* Reduced from 120px */
    }
}