/* Global Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation Bar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

.institute-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

.search-container {
    display: flex;
    align-items: center;
    flex-grow: 0.5;
    margin: 0 2rem;
}

.search-bar {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.search-btn {
    background: none;
    border: none;
    margin-left: -40px;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary-color);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
}

.icon-link {
    color: var(--text-color);
    font-size: 1.3rem;
    transition: var(--transition);
    padding: 0.5rem;
}

.icon-link:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Main Content Styles */
.main-content {
    padding: 2rem;
    min-height: calc(100vh - 150px);
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .search-container {
        margin: 0 1rem;
    }
}

@media (max-width: 992px) {
    .search-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-icons {
        margin-left: auto;
    }
    
    .hamburger {
        display: block;
    }
}

@media (max-width: 576px) {
    .logo-container {
        gap: 0.5rem;
    }
    
    .institute-name {
        font-size: 1.2rem;
    }
}

    .hero-section {
        position: relative;
        height: 90vh;
        background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('assets/images/hero-bg.jpg');
        background-size: cover;
        display: flex;
        align-items: center;
        color: white;
        text-align: center;
    }
    /* ... (include all CSS from previous example) ... */

    /* Course Offerings Styles */
.course-offerings {
    padding: 80px 0;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 20px;
}

.course-content h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.course-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.course-meta i {
    margin-right: 5px;
    color: #2563eb;
}

.enroll-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.enroll-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.enroll-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.enroll-btn:hover i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Contact Hero Styles */
.contact-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: 
        linear-gradient(rgba(30, 64, 175, 0.7), rgba(37, 99, 235, 0.8)),
        url('assets/images/contact-hero-bg.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 80px; /* Adjust if you have fixed navbar */
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.highlight-text {
    color: #f59e0b; /* Accent color */
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f59e0b;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.contact-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn {
    background: #f59e0b;
    color: #1e293b;
    border: 2px solid #f59e0b;
}

.contact-btn:hover {
    background: #fbbf24;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.phone-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.phone-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: #f59e0b;
    border-color: #f59e0b;
}

/* Interactive Contact Highlight */
.highlight-text:hover {
    color: #fbbf24;
}

.highlight-text:hover::after {
    transform: scaleX(1);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        justify-content: center;
    }
}


/* About Hero Styles */
.about-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(37, 99, 235, 0.85) 100%);
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 5% 80px;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/dots-pattern.png') center/contain;
    opacity: 0.05;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    gap: 60px;
}

.about-text-wrapper {
    flex: 1;
    max-width: 700px;
}

.institute-name {
    color: #f59e0b;
    position: relative;
}

.institute-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f59e0b;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.about-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.mission-statement p {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    border-left: 4px solid #f59e0b;
    padding-left: 20px;
}

.about-details {
    margin: 40px 0;
}

.vision-box, .mission-box, .advantages-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vision-box h3, .mission-box h3, .advantages-box h3 {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-box ul {
    padding-left: 20px;
}

.mission-box li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
}

.mission-box li::before {
    content: '•';
    color: #f59e0b;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: translateY(-3px);
}

.advantage-item i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.about-image-wrapper {
    position: relative;
    flex: 1;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.parallax-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .parallax-image {
    transform: scale(1.05);
}

.years-experience {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(245, 158, 11, 0.9);
    color: #1e293b;
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
}

.years-number {
    font-size: 2.2rem;
    display: block;
    line-height: 1;
}

.years-text {
    font-size: 0.9rem;
    display: block;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 35px;
    background: #f59e0b;
    color: #1e293b;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.cta-btn:hover {
    background: #fbbf24;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.cta-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

/* Animations */
.typing-animation {
    animation: typing 2s steps(40) 0.5s 1 normal both;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #f59e0b;
}

.fade-in-box {
    animation: fadeIn 1s ease 1.5s 1 normal forwards;
    opacity: 0;
}

.slide-in-box {
    animation: slideInRight 1s ease 2.5s 1 normal forwards;
    opacity: 0;
    transform: translateX(50px);
}

.pulse-animation {
    animation: pulse 2s infinite 3.5s;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes fadeIn {
    to { opacity: 1 }
}

@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0) }
}

@keyframes pulse {
    0% { transform: scale(1) }
    50% { transform: scale(1.05) }
    100% { transform: scale(1) }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-hero-content {
        flex-direction: column;
    }
    
    .about-image-wrapper {
        margin-top: 50px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 100px 5% 50px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .mission-statement p {
        font-size: 1.4rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}


/* Admission Hero Styles */
.admission-hero {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(37, 99, 235, 0.85));
    color: white;
    padding: 80px 0;
    position: relative;
}

.admission-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.admission-content {
    flex: 1;
    min-width: 300px;
}

.highlight {
    color: #f59e0b;
    font-weight: 700;
}

.admission-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.admission-intro p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.benefits-box h2 {
    color: #f59e0b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-left: 0;
}

.benefits-grid li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.benefits-grid i {
    color: #f59e0b;
}

.process-steps {
    margin: 40px 0;
}

.process-steps h2 {
    color: #f59e0b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.step {
    flex: 1;
    min-width: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #f59e0b;
    color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 10px;
}

/* Enquiry Form Styles */
.enquiry-form {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    color: #1e293b;
    display: none;
    animation: slideUp 0.5s ease;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.form-header h3 {
    color: #2563eb;
    margin: 0;
}

.close-form {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s;
}

.close-form:hover {
    color: #ef4444;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #64748b;
    transition: all 0.3s;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: #2563eb;
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: #2563eb;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* Buttons */
.cta-pulse {
    display: inline-flex;
    align-items: center;
    padding: 16px 35px;
    background: #f59e0b;
    color: #1e293b;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: pulse 2s infinite;
}

.cta-pulse:hover {
    background: #fbbf24;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.cta-pulse i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.cta-pulse:hover i {
    transform: translateX(5px);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .admission-hero h1 {
        font-size: 2.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        min-width: 120px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .steps-container {
        flex-direction: column;
    }
    
    .cta-pulse {
        width: 100%;
        justify-content: center;
    }
}