* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #101C28;
    --secondary-color: #D9D9D9;
    --accent-color: #2A3F52;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f8f9fa;
    --background-dark: #0D1520;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(16, 28, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--text-light);
    box-shadow: var(--shadow);
    list-style: none;
    padding: 0.5rem 0;
    border-radius: 10px;
    min-width: 180px;
    z-index: 1001;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background: var(--background-light);
}
.dropdown-toggle::after {
    content: '\25BC';
    font-size: 0.6rem;
    margin-left: 0.25rem;
}

/* Language Selector */
.language-selector {
    margin-right: 1rem;
}

.language-dropdown {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--secondary-color);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 140px;
    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 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.language-dropdown:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-dropdown:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(217, 217, 217, 0.3);
    transform: translateY(-1px);
}

.language-dropdown option {
    background: var(--background-dark);
    color: var(--secondary-color);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.language-dropdown option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-dropdown option:checked {
    background: var(--primary-color);
    color: white;
}

/* RTL Support for Arabic */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-selector {
    margin-right: 0;
    margin-left: 1rem;
}

/* Mobile Responsiveness for Language Dropdown */
@media (max-width: 768px) {
    .language-dropdown {
        min-width: 120px;
        padding: 8px 12px;
        padding-right: 35px;
        font-size: 13px;
    }
    
    .language-dropdown option {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .language-dropdown {
        min-width: 100px;
        padding: 6px 10px;
        padding-right: 30px;
        font-size: 12px;
    }
    
    .language-dropdown option {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
    color: var(--text-light);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 3;
}

/* Negative color effect for hero content when video is present */
.hero-video-background + .hero-container {
    mix-blend-mode: difference;
    color: white;
}

.hero-video-background + .hero-container .hero-title {
    -webkit-text-fill-color: white;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-video-background + .hero-container .hero-subtitle,
.hero-video-background + .hero-container .hero-description {
    color: white;
}

.hero-video-background + .hero-container .btn {
    mix-blend-mode: difference;
    color: white;
    border-color: white;
}

.hero-video-background + .hero-container .btn-primary {
    background: white;
    color: black;
}

.hero-video-background + .hero-container .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.hero-video-background + .hero-container .btn-secondary:hover {
    background: white;
    color: black;
    border-color: white;
}

.hero-video-background + .hero-container .stat-number,
.hero-video-background + .hero-container .stat-label {
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--background-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.services-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 40px 1rem 40px;
    flex: 1;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    position: relative;
    margin: 0 -20px;
}

.services-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Fade effect on left side only */
.services-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(to right, 
        var(--background-light) 0%, 
        rgba(248, 249, 250, 0.9) 30%, 
        rgba(248, 249, 250, 0.5) 70%, 
        transparent 100%);
}

.service-card {
    background: var(--text-light);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    min-width: 250px;
    max-width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.carousel-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.btn-details {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-details:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Clickable Service Card */
.service-card-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 28, 40, 0.05), rgba(42, 63, 82, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.service-card-clickable:hover::before {
    opacity: 1;
}

.service-card-clickable:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-special {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: var(--text-light);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-special:hover {
    background: linear-gradient(135deg, #ff8e53, #ff6b35);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    opacity: 0.7;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.team .section-title {
    color: var(--text-light);
}

.team .section-subtitle {
    color: var(--secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: rgba(217, 217, 217, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(217, 217, 217, 0.2);
}

.team-card:hover {
    transform: translateY(-5px);
    background: rgba(217, 217, 217, 0.15);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    overflow: visible !important;
    position: relative;
}

.team-avatar-image {
    background: none;
    padding: 0;
}

/* Ensure flags are positioned consistently for both text and image avatars */
.team-avatar-image .country-flag {
    position: absolute;
    bottom: -10px;
}

.team-avatar-image .country-flag:only-of-type {
    left: 50%;
    transform: translateX(-50%);
}

.team-avatar-image .country-flag:first-of-type:not(:only-of-type) {
    left: calc(50% - 20px);
    transform: translateX(-50%);
}

.team-avatar-image .country-flag:nth-of-type(2) {
    left: calc(50% + 20px);
    transform: translateX(-50%);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    transition: var(--transition);
}

.avatar-img:hover {
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.team-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-description {
    font-style: italic;
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Country Flag Badge Styling */
.country-flag {
    position: absolute;
    bottom: -10px;
    width: 30px;
    height: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 20;
}

.country-flag:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Single flag - centered */
.team-avatar .country-flag:only-of-type {
    left: 50%;
    transform: translateX(-50%);
}

.team-avatar .country-flag:only-of-type:hover {
    left: 50%;
    transform: translateX(-50%) scale(1.1);
}

/* Multiple flags - side by side positioning */
.team-avatar .country-flag:first-of-type:not(:only-of-type) {
    left: calc(50% - 20px);
    transform: translateX(-50%);
}

.team-avatar .country-flag:first-of-type:not(:only-of-type):hover {
    left: calc(50% - 20px);
    transform: translateX(-50%) scale(1.1);
}

.team-avatar .country-flag:nth-of-type(2) {
    left: calc(50% + 20px);
    transform: translateX(-50%);
}

.team-avatar .country-flag:nth-of-type(2):hover {
    left: calc(50% + 20px);
    transform: translateX(-50%) scale(1.1);
}

/* Make team avatar container relative for absolute positioning */
.team-avatar {
    position: relative;
}

/* Ensure avatar images are below the flags */
.avatar-img {
    position: relative;
    z-index: 1;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.portfolio h2 {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.portfolio > .container > p {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

.portfolio-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9), rgba(26, 35, 50, 0.7));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-image:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-image:hover img {
    transform: scale(1.1);
}

.portfolio-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.portfolio-info p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.portfolio-tags span {
    background: rgba(217, 217, 217, 0.2);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(217, 217, 217, 0.3);
}

.portfolio-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-btn:hover {
    background: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 217, 217, 0.3);
}

.portfolio-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(217, 217, 217, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(217, 217, 217, 0.2);
}

.portfolio-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.portfolio-cta p {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.portfolio-cta .btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.portfolio-cta .btn:hover {
    background: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(217, 217, 217, 0.3);
}

/* Portfolio responsive design */
@media (max-width: 768px) {
    .portfolio {
        padding: 3rem 0;
    }
    
    .portfolio h2 {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .portfolio-image {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 1.5rem;
    }
    
    .portfolio-info h4 {
        font-size: 1.2rem;
    }
    
    .portfolio-cta {
        padding: 2rem 1rem;
    }
    
    .portfolio-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
    }
    
    .portfolio-tags {
        gap: 0.25rem;
    }
    
    .portfolio-tags span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.testimonials > .container > p {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.testimonials-carousel {
    position: relative;
    margin-bottom: 3rem;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex-shrink: 0;
    width: 350px;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Responsive design for testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        width: 300px;
        padding: 1.5rem;
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .testimonials-navigation {
        gap: 1rem;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-stats {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        width: 280px;
    }
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: var(--secondary-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-content > div {
    flex: 1 1 0;
}

.footer-company {
    flex: 2 1 0;
}

/* Company Section */
.footer-company {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-img {
    height: 150px;
    width: auto;
    display: block;
    margin: auto;
    margin-top: 25px; /* Increased top margin to better center the logo vertically */
}

.footer-logo h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.company-description {
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Contact Section */
.footer-contact h4,
.footer-services h4,
.footer-links h4,
.footer-social h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-contact h4::after,
.footer-services h4::after,
.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.contact-details p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Links Sections */
.footer-services ul,
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li,
.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-services a,
.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-services a:hover,
.footer-links a:hover {
    color: var(--text-light);
    opacity: 1;
    transform: translateX(3px);
}

/* Phase links specific styling */
.scroll-to-phase {
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.scroll-to-phase:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    transform: translateX(5px);
}

.scroll-to-phase::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.scroll-to-phase:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Phase card highlight effect */
.phase-card.highlight {
    animation: phaseHighlight 2s ease-in-out;
    box-shadow: 0 0 30px rgba(217, 217, 217, 0.3);
}

@keyframes phaseHighlight {
    0% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(217, 217, 217, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 40px rgba(217, 217, 217, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(217, 217, 217, 0.3);
    }
}

/* Social Section */
.footer-social {
    display: flex;
    flex-direction: column;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}



/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer wide layout for large screens */
.footer .container {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}

/* Ensure footer content is horizontal on desktop */
@media (min-width: 769px) {
    .footer-content {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .footer-contact,
    .footer-services,
    .footer-links,
    .footer-social {
        display: block !important;
        align-items: flex-start !important;
    }
    
    .footer-company {
        max-width: 350px !important;
    }
}

@media (min-width: 1400px) {
    .footer .container {
        padding: 0 60px;
    }
}
@media (min-width: 1800px) {
    .footer .container {
        padding: 0 80px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .services-carousel {
        gap: 0.5rem;
    }
    
    .services-container {
        gap: 1rem;
        padding: 1rem 30px 1rem 30px;
        margin: 0 -10px;
    }
    
    .services-container::before {
        width: 40px;
    }
    
    .service-card {
        min-width: 260px;
        max-width: 260px;
        padding: 1.5rem 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .services,
    .team {
        padding: 60px 0;
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-company {
        max-width: none;
    }
    
    .footer-contact,
    .footer-services,
    .footer-links,
    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-services ul,
    .footer-links ul {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .service-card,
    .team-card {
        padding: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Pricing Cards Clickable Styles */
.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.clickable-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.clickable-card:hover::before {
    left: 100%;
}

.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.card-cta .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Family Plan Card Styles */
.pricing-card.family {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1; /* Span full width */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    margin-top: 2rem;
}

.pricing-card.family::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.family-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.family-price {
    text-align: center;
    margin: 1.5rem 0;
}

.custom-price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.family-includes {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

.family-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 2rem;
    text-align: center;
}

.feature-item span:last-child {
    font-weight: 500;
    line-height: 1.4;
}

.family-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.family-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.family-description {
    text-align: left;
    font-style: italic;
    opacity: 0.9;
    margin: 1.5rem 0;
    line-height: 1.6;
}

/* Responsive adjustments for family card */
@media (max-width: 768px) {
    .pricing-card.family {
        margin-top: 2rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .family-left {
        text-align: center;
    }
    
    .family-description {
        text-align: center;
    }
    
    .custom-price {
        font-size: 2rem;
    }
    
    .feature-item {
        padding: 0.5rem;
    }
    
    .feature-icon {
        font-size: 1.25rem;
        margin-right: 0.75rem;
    }
}

/* Google Form Modal Styles */
.form-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.form-modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--primary-color);
    color: white;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.modal-body {
    padding: 0;
    height: 600px;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 0.75rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        height: 400px;
    }
} 

 /* Page-specific styles */
        .hero-study {
            background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
            color: white;
            padding: 120px 0 80px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        /* Apply softer video text effects for better readability */
        .hero-study .hero-video-background + .hero-container {
            mix-blend-mode: overlay;
            color: white;
            opacity: 0.98;
        }

        .hero-study .hero-video-background + .hero-container .hero-title {
            -webkit-text-fill-color: white;
            background: white;
            -webkit-background-clip: text;
            background-clip: text;
            /* opacity: 1; */
            text-shadow: 0 2px 4px rgba(0, 0, 0, 1.2);
        }

        .hero-study .hero-video-background + .hero-container .hero-subtitle,
        .hero-study .hero-video-background + .hero-container .hero-description {
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }

        .hero-study .hero-video-background + .hero-container .btn {
            mix-blend-mode: normal;
            color: white;
            border-color: rgba(255, 255, 255, 0.8);
        }

        .hero-study .hero-video-background + .hero-container .btn-primary {
            background: white;
            color: black;
        }

        .hero-study .hero-video-background + .hero-container .btn-secondary {
            background: transparent;
            color: white;
            border-color: white;
        }

        .hero-study .hero-video-background + .hero-container .btn-secondary:hover {
            background: white;
            color: black;
            border-color: white;
        }
        
        /* Phase Cards Styling */
        .phases-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        
        .phase-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
            border: 2px solid #f0f0f0;
            transition: all 0.3s ease;
        }
        
        .phase-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            border-color: var(--primary-color);
        }
        
        .phase-number {
            position: absolute;
            top: -15px;
            left: 2rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .phase-content h3 {
            color: var(--primary-color);
            font-size: 1.4rem;
            margin: 1rem 0 0.5rem;
            font-weight: 600;
        }
        
        .phase-content h4 {
            color: var(--text-dark);
            font-size: 1.1rem;
            margin-bottom: 1rem;
            font-weight: 500;
        }
        
        .phase-content p {
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
        
        .phase-illustration {
            font-size: 3rem;
            text-align: center;
            margin-top: 1.5rem;
            opacity: 0.8;
            transition: all 0.3s ease;
        }
        
        .phase-card:hover .phase-illustration {
            opacity: 1;
            transform: scale(1.1);
        }
        
        /* Pricing Section Styling */
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 3rem;
            margin: 3rem 0;
        }
        
        .pricing-card {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            position: relative;
            border: 2px solid #f0f0f0;
            transition: all 0.3s ease;
        }
        
        .pricing-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        }
        
        .pricing-card.package {
            border-color: var(--accent-color);
            background: linear-gradient(135deg, #fff8e1, #f3e5f5);
        }
        
        .discount-badge {
            position: absolute;
            top: -15px;
            right: 2rem;
            background: var(--accent-color);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.9rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .pricing-card h3 {
            color: var(--primary-color);
            font-size: 1.6rem;
            margin-bottom: 1.5rem;
            text-align: center;
            font-weight: 600;
        }
        
        .pricing-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            border-bottom: 1px solid #f0f0f0;
            border-radius: 8px;
            transition: background 0.3s ease;
        }
        
        .pricing-item:hover {
            background: #f8f9fa;
        }
        
        .pricing-item:last-child {
            border-bottom: none;
        }
        
        .pricing-item .price {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        .package-price {
            text-align: center;
            margin: 1.5rem 0;
        }
        
        .original-price {
            text-decoration: line-through;
            color: var(--text-muted);
            font-size: 1.1rem;
            display: block;
        }
        
        .discounted-price {
            color: var(--primary-color);
            font-size: 2.5rem;
            font-weight: 700;
            display: block;
            margin: 0.5rem 0;
        }
        
        .savings {
            color: var(--accent-color);
            font-weight: 600;
            background: #fff3e0;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.9rem;
        }
        
        .payment-stages {
            margin-top: 1.5rem;
        }
        
        .stage {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1rem;
            border-left: 4px solid var(--primary-color);
        }
        
        .stage strong {
            color: var(--primary-color);
            display: block;
            margin-bottom: 0.5rem;
        }
        
        .stage span {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        
        /* Benefits Section Styling */
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        
        .benefit-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 2px solid #f0f0f0;
            transition: all 0.3s ease;
        }
        
        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            border-color: var(--primary-color);
        }
        
        .benefit-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: block;
        }
        
        .benefit-card h3 {
            color: var(--primary-color);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        .benefit-card p {
            color: var(--text-muted);
            line-height: 1.6;
        }
        
        .cta-content {
            text-align: center;
            margin-top: 4rem;
            padding: 3rem;
            background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
            border-radius: 20px;
            border: 2px solid var(--primary-color);
        }
        
        .cta-content h3 {
            color: var(--primary-color);
            font-size: 1.8rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        .cta-content p {
            color: var(--text-muted);
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }
        
        .btn-large {
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            border-radius: 30px;
        }
        
        /* Universities Carousel */
        .universities {
            padding: 100px 0;
            background: var(--background-light);
            overflow: hidden;
        }

        .uni-carousel {
            margin-top: 3rem;
            overflow: hidden;
            position: relative;
            scroll-behavior: smooth;
            scrollbar-width: none; /* Firefox hide */
        }

        /* Hide scrollbar for WebKit */
        .uni-carousel::-webkit-scrollbar { 
            display: none; 
        }

        /* Pause auto-scroll when user hovers so they can browse */
        .uni-carousel:hover .uni-track {
            animation-play-state: running;
        }

        /* Enable slow auto-scroll */
        .uni-track { 
            animation: scroll 60s linear infinite !important;
            display: flex;
        }

        /* Remove cursor styles */
        .uni-carousel { 
            cursor: default; 
        }

        .uni-item {
            flex-shrink: 0;
            width: 180px;
            position: relative;
        }



        /* University logo styling */
        .uni-logo {
            background: transparent;
            padding: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            height: auto;
        }

        .uni-link {
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .uni-icon {
            width: 140px;
            height: 100px;
            object-fit: contain;
        }





        /* Keyframe for animation */
        @keyframes scroll {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(-50%);
            }
        }
        
        /* Introduction Section Styling */
        .intro-section {
            padding-top: 60px !important;
        }
        
        .intro-section .section-title {
            margin-top: 2rem;
            margin-bottom: 2rem;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .intro-section .section-subtitle {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }
        
        .intro-section .section-subtitle p {
            font-size: 1.2rem;
            line-height: 1.8;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }
        
        .intro-section .section-subtitle p:last-child {
            margin-bottom: 0;
        }
        
        /* Pricing Section Styling */
        .pricing-section {
            padding-top: 60px !important;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin: 4rem 0;
        }
        
        .service-card {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }
        
        .service-icon {
            width: 60px;
            height: 60px;
            background: var(--accent-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
        }
        
        .service-card h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.4rem;
        }
        
        .service-card p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
        
        .service-features {
            list-style: none;
            padding: 0;
        }
        
        .service-features li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #f0f0f0;
            color: #555;
        }
        
        .service-features li:last-child {
            border-bottom: none;
        }
        
        .service-features li::before {
            content: "✓";
            color: var(--accent-color);
            font-weight: bold;
            margin-right: 0.5rem;
        }
        
        .cta-section {
            background: var(--background-dark);
            color: white;
            padding: 4rem 0;
            text-align: center;
        }
        
        .cta-button {
            background: var(--accent-color);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
        }
        
        .cta-button:hover {
            background: #e91e63;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
        }
        
        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 1.5rem;
        }
        
        .cta-button-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }
        
        .cta-button-secondary:hover {
            background: white;
            color: var(--background-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
        }
        
        .team-highlight {
            background: #f8f9fa;
            padding: 4rem 0;
        }
        
        .team-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .team-member-card {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        }
        
        .member-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--accent-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            margin: 0 auto 1rem;
        }
        
        .member-avatar img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }
        
        @media (max-width: 768px) {
            .hero-study h1 {
                font-size: 2.5rem;
            }
            
            .hero-study p {
                font-size: 1.1rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .service-card {
                padding: 2rem;
            }
        }
        

        

        
        /* Responsive Design */
        @media (max-width: 768px) {
            .phases-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .pricing-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .benefits-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .phase-card, .pricing-card, .benefit-card {
                padding: 1.5rem;
            }
            
            .cta-content {
                padding: 2rem;
            }
            
            .cta-content h3 {
                font-size: 1.5rem;
            }
            
            .phase-content h3 {
                font-size: 1.2rem;
            }
            
            .discounted-price {
                font-size: 2rem;
            }
            
            /* University carousel responsive */
            .universities {
                padding: 60px 0;
            }
            
            .uni-item {
                width: 140px;
            }
            
            .uni-logo {
                padding: 0.5rem;
            }
            
            .uni-icon {
                width: 120px;
                height: 80px;
            }
            
            /* Introduction section responsive */
            .intro-section {
                padding-top: 40px !important;
            }
            
            .intro-section .section-title {
                font-size: 2rem;
                margin-top: 1rem;
                margin-bottom: 1.5rem;
            }
            
            .intro-section .section-subtitle {
                padding: 0 1rem;
            }
            
            .intro-section .section-subtitle p {
                font-size: 1.1rem;
                line-height: 1.7;
            }
            
            /* Pricing section responsive */
            .pricing-section {
                padding-top: 40px !important;
            }
            

        }
        
        /* Team Member Email Styling */
        .member-email {
            color: #007bff;
            font-size: 0.9rem;
            font-weight: 500;
            margin-top: 0.5rem;
            text-align: center;
            font-family: 'Arial', sans-serif;
            background: rgba(0, 123, 255, 0.1);
            padding: 0.5rem;
            border-radius: 6px;
            border: 1px solid rgba(0, 123, 255, 0.2);
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            cursor: pointer;
        }

        .member-email:hover {
            background: rgba(0, 123, 255, 0.15);
            border-color: rgba(0, 123, 255, 0.3);
            transform: translateY(-1px);
            text-decoration: none;
            color: #0056b3;
        }

        .member-email:active {
            transform: translateY(0);
            background: rgba(0, 123, 255, 0.2);
        }

        /* RTL Support for Arabic */
        [dir="rtl"] .member-email {
            font-family: 'Arial', sans-serif;
            text-align: center;
        }