/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f5f6fa;
    --gradient-primary: linear-gradient(135deg, #2c3e50, #3498db);
    --gradient-accent: linear-gradient(135deg, #e74c3c, #c0392b);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    top: 0 !important;
}

/* RTL Language Support */
[lang="ur"] {
    direction: rtl;
    text-align: right;
    font-family: 'Noto Nastaliq Urdu', serif;
}

[lang="ur"] .nav-links,
[lang="ur"] .header-cta {
    flex-direction: row-reverse;
}

[lang="ur"] .logo-container {
    flex-direction: row-reverse;
}

[lang="ur"] .form-row {
    flex-direction: row-reverse;
}

[lang="ur"] .floating-language-selector {
    left: 20px;
    right: auto;
}

[lang="ur"] .floating-language-selector select {
    text-align: right;
    padding: 8px 15px 8px 30px;
    background-position: left 0.7rem center;
}

@media (max-width: 768px) {
    [lang="ur"] .floating-language-selector {
        left: 20px;
        right: auto;
    }
    
    [lang="ur"] .language-dropdown {
        left: 0;
        right: auto;
    }
}

/* Header Styles */
header {
    background-color: rgba(44, 62, 80, 0.98);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-img {
    width: 220px;
    height: 85px;
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent-color);
}

.logo-sub {
    font-size: 0.85rem;
    color: white;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 400;
    font-size: 0.95rem;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Header CTA Styles */
.header-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: 1.5rem;
}

.apply-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.apply-button i {
    font-size: 1rem;
}

.apply-button:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.call-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.call-button i {
    font-size: 1rem;
}

.call-button:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://aiugpg.com/aiugpg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
}

.hero-form h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.hero-form .form-group {
    margin-bottom: 1rem;
}

.hero-form input,
.hero-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
}

.hero-form textarea {
    height: 80px;
    resize: vertical;
}

.hero-form .submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.hero-form .submit-button:hover {
    background-color: #2980b9;
}

/* Hero Section Enhancements */
.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-stats .stat-label {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for hero stats */
@media (max-width: 768px) {
    .hero-stats {
        gap: 1rem;
    }

    .hero-stats .stat-item {
        min-width: 140px;
        padding: 1rem;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
    }

    .hero-stats .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats .stat-item {
        width: 100%;
        max-width: 280px;
    }
}

/* Enquiry Form Section */
.enquiry-section {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.enquiry-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

#enquiryForm {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2980b9;
}

/* Curriculum Section Styles */
.curriculum-section {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.curriculum-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.curriculum-section h2::after {
content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);}

.curriculum-container {
    max-width: 1200px;
    margin: 0 auto;
}

.curriculum-year {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.curriculum-year h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.year-focus {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Semester Row Layout */
.semester-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.semester {
    flex: 1;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    min-width: 0; /* Prevents flex items from overflowing */
}

.semester h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
    text-align: center;
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.course-card h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.course-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-card ul li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.course-card ul li strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.semester-credits {
    text-align: right;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Curriculum Tabs Styles */
.curriculum-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    border: none;
    background: #f8f9fa;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-button:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.curriculum-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.curriculum-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles for tabs */
@media (max-width: 768px) {
    .curriculum-tabs {
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Fee Structure Section */
.fees-section {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.fees-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
}

.fees-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
}

.fees-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.fee-table {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.fee-table h3 {
    text-align: center;
    color: white;
    background: rgb(44 62 80 / 98%);
    padding: 1rem;
    margin: -2rem -2rem 2rem -2rem;
    border-radius: 10px 10px 0 0;
    font-size: 1.3rem;
}

.fee-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.fee-table th,
.fee-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.fee-table th {
    background: #f8f9fa;
    color: var(--primary-color);
    font-weight: 600;
}

.fee-table tr:hover {
    background-color: #f8f9fa;
}

.fee-table .total-row {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--primary-color);
}

.fee-table .total-row td {
    border-top: 2px solid #ddd;
}

/* Responsive styles for fee tables */
@media (max-width: 768px) {
    .fee-table {
        padding: 1rem;
    }

    .fee-table h3 {
        margin: -1rem -1rem 1rem -1rem;
        font-size: 1.1rem;
        padding: 0.8rem;
    }

    .fee-table th,
    .fee-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .fee-table {
        overflow-x: auto;
        display: block;
    }

    .fee-table table {
        min-width: 500px;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 2rem;
}

.benefits-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.benefits-section h2::after {
content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Future Scope Section */
.future-section {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.future-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.future-section h2::after {
content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);}

.future-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.future-text {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Salary Structure Section */
.salary-section {
    padding: 5rem 2rem;
}

.salary-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}


.salary-section h2::after {
content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);}

.salary-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.salary-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.salary-amount {
    font-size: 1.5rem !important;
    color: var(--secondary-color) !important;
    font-weight: bold !important;
    margin: 1rem 0 !important;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        gap: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .logo-sub {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1rem;
    }
}

.captcha-group {
    margin-top: 1rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

#captchaQuestion {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 150px;
}

#captchaAnswer {
    flex: 1;
    max-width: 150px;
}

/* About AI Engineering Section */
.about-ai-section {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-content h2::after {
content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);}

.about-content .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Responsive Design for About Section */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content h2 {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1677442136019-21780ecad995') center/cover;
    opacity: 0.1;
    z-index: 0;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.cta-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.cta-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-feature p {
    font-size: 1rem;
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for CTA Section */
@media (max-width: 1024px) {
    .cta-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Thank You Page Styles */
.thankyou-section {
    min-height: 100vh;
    padding: 120px 2rem 4rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.thankyou-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    color: #2ecc71;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.thankyou-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.thankyou-content .message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.next-steps {
    margin-bottom: 3rem;
    animation: fadeInUp 0.5s ease-out 0.6s both;
}

.next-steps h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.step-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    animation: fadeInUp 0.5s ease-out 0.8s both;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-button {
    background: var(--secondary-color);
    color: white;
}

.primary-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.secondary-button {
    background: #f1f2f6;
    color: var(--primary-color);
}

.secondary-button:hover {
    background: #e4e7eb;
    transform: translateY(-2px);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles for thank you page */
@media (max-width: 768px) {
    .thankyou-content {
        padding: 2rem;
    }

    .thankyou-content h1 {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        justify-content: center;
    }
}

/* Language Selector Styles */
.language-selector {
    margin: 0 1rem;
}

.language-selector select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1em;
}

.language-selector select:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.language-selector select option {
    background: var(--primary-color);
    color: white;
}

/* Google Translate Widget Styles */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-gadget {
    font-family: inherit !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: white !important;
}

/* Responsive styles for language selector */
@media (max-width: 768px) {
    .language-selector {
        margin: 1rem 0;
    }
    
    .language-selector select {
        width: 100%;
    }
}

/* Floating Language Selector Styles */
.floating-language-selector {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(44, 62, 80, 0.95);
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.language-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.language-dropdown {
    display: none;
    padding: 10px;
    background: rgba(44, 62, 80, 0.95);
    border-radius: 15px;
    margin-top: 10px;
}

.floating-language-selector:hover .language-dropdown {
    display: block;
}

.floating-language-selector select {
    padding: 8px 30px 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1em;
    min-width: 160px;
}

.floating-language-selector select:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.floating-language-selector select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.floating-language-selector select option {
    background: var(--primary-color);
    color: white;
    padding: 10px;
}

/* Google Translate Widget Styles */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    font-family: inherit !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: white !important;
}

/* Responsive styles for floating language selector */
@media (max-width: 768px) {
    .floating-language-selector {
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
    }

    .language-dropdown {
        position: absolute;
        bottom: 100%;
        right: 0;
        margin-bottom: 10px;
        margin-top: 0;
    }
}

/* Responsive styles for semester layout */
@media (max-width: 1200px) {
    .semester-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .semester {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .curriculum-section {
        padding: 3rem 1rem;
    }

    .semester {
        padding: 1rem;
    }

    .course-card {
        padding: 0.8rem;
    }

    .course-card h5 {
        font-size: 1rem;
    }

    .course-card ul li {
        font-size: 0.85rem;
    }
}

/* HUST University Partnership Section */
.hust-partnership {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hust-partnership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://aiugpg.com/hust.png') center/contain no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.hust-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hust-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hust-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.hust-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.hust-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
}

.hust-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.highlight-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: #f8f9fa;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--primary-color);
    font-size: 1rem;
}

.hust-cta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.hust-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.hust-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.hust-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hust-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive styles for HUST section */
@media (max-width: 768px) {
    .hust-partnership {
        padding: 3rem 1rem;
    }

    .hust-logo {
        width: 150px;
    }

    .hust-header h2 {
        font-size: 2rem;
    }

    .hust-highlights {
        grid-template-columns: 1fr;
    }

    .hust-features {
        grid-template-columns: 1fr;
    }

    .hust-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hust-button,
    .hust-link {
        width: 100%;
        justify-content: center;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 2rem;
    background: white;
}

.why-choose-us h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Responsive styles for features section */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 3rem 1rem;
    }

    .why-choose-us h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Career Opportunities Section */
.career-opportunities {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.career-opportunities h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.career-opportunities h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: background: var(--gradient-primary);
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.career-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.career-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.career-card:hover .career-icon {
    transform: scale(1.1);
}

.career-icon i {
    font-size: 1.8rem;
    color: white;
}

.career-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.career-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.salary {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.testimonials h2::after {
content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-icon {
    transform: scale(1.1);
}

.testimonial-icon i {
    font-size: 1.8rem;
    color: white;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.testimonial-author img {
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.author-info {
    text-align: left;
}

.author-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.author-info .position {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Responsive styles for testimonials */
@media (max-width: 1200px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 1rem;
    }

    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-icon {
        width: 60px;
        height: 60px;
    }

    .testimonial-icon i {
        font-size: 1.5rem;
    }
}

/* Attached Section Styles */
.attached-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.attached-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.attached-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
}

.attached-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.attached-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.attached-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.attached-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.attached-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.attached-card:hover .attached-icon {
    transform: scale(1.1);
}

.attached-icon i {
    font-size: 1.8rem;
    color: white;
}

.attached-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.attached-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.attached-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.attached-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 0.95rem;
}

.attached-list li i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .attached-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .attached-section {
        padding: 3rem 1rem;
    }

    .attached-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .attached-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .attached-card {
        padding: 1.5rem;
    }

    .attached-icon {
        width: 60px;
        height: 60px;
    }

    .attached-icon i {
        font-size: 1.5rem;
    }
}

/* Enhanced Responsive Styles */
/* Extra large devices (large desktops) */
@media (min-width: 1400px) {
    .container, 
    .about-container,
    .hust-container,
    .cta-container {
        max-width: 1320px;
    }

    .hero {
        padding: 0 4rem;
    }

    nav {
        padding: 0 4rem;
    }
}

/* Large devices (desktops) */
@media (max-width: 1200px) {
    .container,
    .about-container,
    .hust-container,
    .cta-container {
        max-width: 960px;
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        gap: 2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .curriculum-content {
        padding: 0 1rem;
    }

    .semester-row {
        flex-direction: column;
    }

    .hust-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (tablets) */
@media (max-width: 992px) {
    .container,
    .about-container,
    .hust-container,
    .cta-container {
        max-width: 720px;
    }

    .hero {
        flex-direction: column;
        padding-top: 100px;
        gap: 2rem;
    }

    .hero-content,
    .hero-form {
        max-width: 100%;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: var(--primary-color);
        flex-direction: column;
        padding: 80px 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .header-cta {
        flex-direction: column;
        width: 100%;
        margin-top: 2rem;
        gap: 1rem;
    }

    .mobile-menu {
        display: block;
        z-index: 1000;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .career-grid,
    .attached-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones) */
@media (max-width: 768px) {
    .container,
    .about-container,
    .hust-container,
    .cta-container {
        max-width: 540px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .career-grid,
    .attached-grid,
    .hust-highlights {
        grid-template-columns: 1fr;
    }

    .curriculum-tabs {
        flex-wrap: wrap;
    }

    .tab-button {
        width: calc(50% - 0.5rem);
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .course-card {
        margin-bottom: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .floating-language-selector {
        bottom: 20px;
        right: 20px;
        top: auto;
    }
}

/* Extra small devices (phones) */
@media (max-width: 576px) {
    .container,
    .about-container,
    .hust-container,
    .cta-container {
        padding: 0 1rem;
    }

    .hero {
        padding: 80px 1rem 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .form-row {
        flex-direction: column;
    }

    .stat-number {
        font-size: 2rem;
    }

    .curriculum-year h3 {
        font-size: 1.5rem;
    }

    .semester {
        padding: 1rem;
    }

    .course-card {
        padding: 1rem;
    }

    .hust-header h2 {
        font-size: 1.8rem;
    }

    .hust-cta {
        flex-direction: column;
    }

    .attached-card {
        padding: 1.5rem;
    }

    .attached-icon {
        width: 60px;
        height: 60px;
    }

    .attached-card h3 {
        font-size: 1.2rem;
    }
}

/* Height-based media queries for better vertical responsiveness */
@media (max-height: 800px) {
    .hero {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .hero-stats {
        margin-top: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Landscape orientation specific styles */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 100px 2rem 2rem;
    }

    .nav-container {
        padding-top: 60px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-form {
        padding: 1.5rem;
    }
}

/* Print styles for better printing */
@media print {
    .floating-language-selector,
    .mobile-menu,
    .header-cta,
    .hero-form {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
    }

    header {
        position: relative;
        box-shadow: none;
    }
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-button i {
    font-size: 1.2rem;
}

.apply-now {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.apply-now:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.call-now {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.call-now:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Responsive styles for hero buttons */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .hero-button {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .section-intro {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-details {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-details:hover {
    transform: translateY(-5px);
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.02);
    transform: translateX(5px);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-wrapper {
    transform: rotate(360deg);
}

.info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info p {
    color: #666;
    line-height: 1.6;
}

.info a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info a:hover {
    color: var(--primary-color);
}

.social-links-contact {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-links-contact h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px 15px 45px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form textarea {
    padding: 15px 20px;
    min-height: 120px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

.contact-form .form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    transition: all 0.3s ease;
}

.contact-form input:focus + i,
.contact-form textarea:focus + i {
    color: var(--primary-color);
}

.contact-form .submit-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.contact-form .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form .submit-button i {
    transition: transform 0.3s ease;
}

.contact-form .submit-button:hover i {
    transform: translateX(5px);
}

.captcha-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-container span {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .icon-wrapper {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
} 



.legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #007bff;
}

/* Cookie Consent Styles */
#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background-color: #27ae60;
    color: white;
}

.cookie-btn.reject {
    background-color: #e74c3c;
    color: white;
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
} 