* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2d5a87;
    --accent-color: #3182ce;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 8px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 54, 93, 0.8) 0%,
        rgba(45, 90, 135, 0.7) 50%,
        rgba(49, 130, 206, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Slide Navigation */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.slide-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Vision & Mission Section */
.vision-mission {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.vm-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.vision-card::before {
    background: var(--gradient-primary);
}

.mission-card::before {
    background: var(--gradient-secondary);
}

.vm-card:hover {
    transform: translateY(-5px);
}

.vm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 2rem;
}

.mission-card .vm-icon {
    background: var(--gradient-secondary);
}

.vm-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vm-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .vm-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vm-card {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .vm-card {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* Our Story Section Styles */
.our-story {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.our-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23000" opacity="0.02"/><circle cx="80" cy="80" r="1" fill="%23000" opacity="0.02"/><circle cx="40" cy="60" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.our-story h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 60px;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.our-story h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.story-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 25px;
    text-align: justify;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.milestones {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.milestones li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.milestones li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3498db, #2980b9);
}

.milestones li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.milestones .year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3498db;
    margin-right: 20px;
    min-width: 60px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
}

.milestones .event {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    flex: 1;
}

.story-image {
    position: relative;
    text-align: center;
}

.story-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.story-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .our-story {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .our-story h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-text h3 {
        font-size: 1.5rem;
    }
    
    .story-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .milestones li {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .milestones .year {
        margin-right: 0;
        margin-bottom: 10px;
        min-width: auto;
    }
    
    .story-image img {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .our-story h2 {
        font-size: 1.8rem;
    }
    
    .story-text h3 {
        font-size: 1.3rem;
    }
    
    .story-text p {
        font-size: 0.95rem;
    }
    
    .milestones .year {
        font-size: 1rem;
    }
    
    .milestones .event {
        font-size: 0.9rem;
    }
}
.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(27, 41, 81, 0.2);
}
/* About Section Styles */
.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ===== BASE STYLES ===== */
.about-section {
  font-family: var(--font-family);
  padding: var(--spacing-4xl) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===== TYPOGRAPHY MIXINS (via classes) ===== */
.section-heading {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-sm);
}

.section-subheading {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-tight);
}

.section-subtitle {
  text-align: center;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--spacing-2xl);
  font-weight: var(--font-weight-normal);
}

.section-description {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-3xl);
  font-weight: var(--font-weight-normal);
  font-style: italic;
  line-height: var(--line-height-normal);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CARD COMPONENTS ===== */
.card {
  background: var(--background-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card--large {
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.card--large:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ===== GRID LAYOUTS ===== */
.grid {
  display: grid;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.grid--responsive {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--responsive-large {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ===== MAIN SECTION ===== */
.about-section h2 {
  @extend .section-heading;
}

/* ===== CORE VALUES SECTION ===== */
.core-values-section {
  margin-bottom: var(--spacing-4xl);
}

.core-values-section h3 {
  @extend .section-subheading;
}

.core-values-section .subtitle {
  @extend .section-subtitle;
}

.values-grid {
  @extend .grid, .grid--responsive;
}

.value-item {
  @extend .card;
  padding: var(--spacing-lg);
}

.value-item h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.value-item p {
  font-size: 1rem;
  line-height: var(--line-height-relaxed);
  color: var(--text-body);
  margin: 0;
}

/* ===== LEADERSHIP SECTION ===== */
.leadership-section {
  margin-top: var(--spacing-4xl);
}

.leadership-section h3 {
  @extend .section-subheading;
}

.leadership-section .subtitle {
  @extend .section-subtitle;
}

.team-grid {
  @extend .grid, .grid--responsive-large;
}

.team-member {
  @extend .card, .card--large;
  padding: 35px;
  text-align: center;
}

.team-member h4 {
  font-size: clamp(1.3rem, 2.5vw, 1.5rem);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.team-member .position {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-md);
}

.team-member .bio {
  font-size: 1rem;
  line-height: var(--line-height-relaxed);
  color: var(--text-body);
  text-align: left;
}

/* ===== CONTENT SECTIONS ===== */
.section-content {
  display: block;
  margin-top: var(--spacing-2xl);
}

.section-text p {
  font-size: 1.1rem;
  line-height: var(--line-height-loose);
  color: var(--text-primary);
  margin-bottom: 25px;
  text-align: justify;
  font-weight: var(--font-weight-normal);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp var(--transition-slow) forwards;
}

.value-item,
.team-member {
  @extend .animate-fade-in;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .about-section {
    padding: var(--spacing-3xl) 0;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .section-description,
  .section-subtitle {
    margin-bottom: var(--spacing-xl);
    padding: 0 10px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .value-item,
  .team-member {
    padding: 25px;
  }
  
  .core-values-section {
    margin-bottom: var(--spacing-3xl);
  }
  
  .leadership-section {
    margin-top: var(--spacing-3xl);
  }
}

@media (max-width: 480px) {
  .section-subtitle {
    padding: 0 5px;
  }
  
  .value-item,
  .team-member {
    padding: var(--spacing-md);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-justify { text-align: justify; }

.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.italic { font-style: italic; }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }


/* Fallback styles to ensure text visibility */
.about-section *,
.core-values-section *,
.leadership-section * {
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
}

/* Additional reset styles */
.about-section * {
    box-sizing: border-box;
}

/* Ensure proper text rendering */
.about-section,
.core-values-section,
.leadership-section {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}}
/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: none;
}

.services h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(27, 41, 81, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(27, 41, 81, 0.15);
    border-color: var(--primary-gold);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ===== BLOG SECTION ===== */
.blog {
    padding: 100px 0;
    background: var(--light-gray);
}

.blog h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.blog-post {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(27, 41, 81, 0.1);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(27, 41, 81, 0.15);
}

.blog-post h3 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.read-more {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-navy);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-navy), var(--light-navy));
    color: var(--white);
}

.testimonials h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: 3rem;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.client-info strong {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.client-info span {
    color: var(--light-gold);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.slider-controls button {
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background: var(--dark-gold);
    transform: scale(1.1);
}

/* ===== CAREERS SECTION ===== */
.careers {
    padding: 100px 0;
    background: var(--white);
}

.careers h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.job-openings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.job {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.job:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(27, 41, 81, 0.1);
}

.job h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.job p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.benefits {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 4rem;
}

.benefits h3 {
    color: var(--primary-navy);
    margin-bottom: 2rem;
    text-align: center;
}

.benefits ul {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

.benefits li i {
    color: var(--primary-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.benefits p {
    text-align: center;
    color: var(--medium-gray);
}

.benefits a {
    color: var(--primary-gold);
    text-decoration: none;
}

.benefits a:hover {
    color: var(--primary-navy);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray), var(--white));
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(27, 41, 81, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    min-height: 120px;
}

.contact-info {
    background: var(--primary-navy);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    height: fit-content;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info i {
    color: var(--primary-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
    min-width: 20px;
}

.contact-info a {
    color: var(--light-gold);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    width: 45px;
    display: none;
    height: 45px;
    background: #1a1a1a;
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    align-content: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
}

.social-links a:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    padding: 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: #3498db;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 25px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* ===== MAIN FOOTER STYLES ===== */
.main-footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* ===== FOOTER SECTIONS ===== */
.footer-section {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 2px;
}

.footer-section h5 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== COMPANY INFO SECTION ===== */
.company-info {
    flex: 1.5;
    min-width: 300px;
}

.company-info .logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.company-info .logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid var(--primary-gold);
    padding: 5px;
    background: var(--white);
}

.company-info .logo h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 1.2rem;
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 1rem;
    font-style: italic;
}

.company-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

/* ===== NAVIGATION & SERVICES LINKS ===== */
.footer-links ul, .footer-services ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li, .footer-services li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-services a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0;
    position: relative;
}

.footer-links a::before, .footer-services a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

.footer-links a:hover::before, .footer-services a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ===== CONTACT INFO SECTION ===== */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    width: 20px;
    text-align: center;
}

.contact-details strong {
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* ===== SOCIAL MEDIA & NEWSLETTER ===== */
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::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;
}

.social-link:hover {
    background: var(--primary-gold);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.social-link:hover::before {
    left: 100%;
}

.social-link.facebook:hover { background: #3b5998; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.linkedin:hover { background: #0077b5; }
.social-link.instagram:hover { background: #e1306c; }
.social-link.youtube:hover { background: #ff0000; }

/* ===== NEWSLETTER FORM ===== */
.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.input-group {
    display: flex;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.input-group input {
    flex: 1;
    padding: 1rem;
    border: none;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 1rem;
    outline: none;
}

.input-group input::placeholder {
    color: var(--medium-gray);
}

.input-group button {
    padding: 1rem 1.5rem;
    background: var(--primary-gold);
    color: var(--primary-navy);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.input-group button:hover {
    background: var(--dark-gold);
    transform: scale(1.05);
}

.privacy-notice {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright p, .footer-attribution p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--primary-gold);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== WHATSAPP CHAT WIDGET ===== */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-gray);
    color: black;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-gold);
    transform: translateY(-5px) scale(1.1);
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .main-footer .container {
        gap: 2rem;
    }
    
    .footer-section {
        flex: 1 1 45%;
    }
    
    .company-info {
        flex: 1 1 100%;
        order: -1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 0;
    }
    
    .footer-section {
        flex: 1 1 100%;
    }
    
    .company-info .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .company-info .logo img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group button {
        padding: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 40px 0 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .company-info .logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .tooltip {
        display: none;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
a:focus, button:focus, input:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-navy: #000000;
        --primary-gold: #ffff00;
    }
}
/* ===== MOBILE RESPONSIVE FIXES ===== */

/* Header Mobile Fixes */
@media (max-width: 992px) {
    .header-inner {
        padding: 0.5rem 0;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo img {
        width: 120px;
        height: 80px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 20px;
        cursor: pointer;
        padding: 5px;
    }
    
    .mobile-menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background: var(--primary-navy);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Dropdown fixes for mobile */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--light-gray);
        margin-left: 1rem;
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile Phone Specific (768px and below) */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Header adjustments */
    .header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo img {
        width: 100px;
        height: 70px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    /* Hero section mobile fixes */
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Typography mobile adjustments */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
    
    /* Section padding reductions */
    .vision-mission, .our-story, .about-section, 
    .values-section, .team-section, .services, 
    .blog, .testimonials, .careers, .contact, .faq {
        padding: 60px 0;
    }
    
    /* Grid layouts - single column */
    .vision-mission .container,
    .story-content,
    .section-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Cards and sections */
    .vision, .mission {
        padding: 2rem 1.5rem;
    }
    
    .contact-form, .contact-info {
        padding: 2rem 1.5rem;
    }
    
    /* Values, team, services grids */
    .values-grid, .team-grid, .services-grid, .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Job openings */
    .job-openings {
        grid-template-columns: 1fr;
    }
    
    /* Milestones mobile layout */
    .milestones li {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    
    .milestones .year {
        margin-right: 0;
        margin-bottom: 0.5rem;
        min-width: auto;
    }
    
    /* Testimonials */
    .testimonial {
        padding: 2rem 1rem;
    }
    
    .testimonial p {
        font-size: 1.1rem;
    }
    
    /* FAQ mobile adjustments */
    .faq-question {
        padding: 20px 15px;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 15px 20px;
    }
    
    /* Footer mobile fixes */
    .main-footer .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-section {
        min-width: 100%;
        text-align: center;
    }
    
    .company-info .logo {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Small Mobile Devices (576px and below) */
@media (max-width: 576px) {
    /* Logo further reduced */
    .logo img {
        width: 80px;
        height: 60px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    /* Hero section */
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
    
    /* Typography further reduced */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    /* Section padding further reduced */
    .vision-mission, .our-story, .about-section, 
    .values-section, .team-section, .services, 
    .blog, .testimonials, .careers, .contact, .faq {
        padding: 40px 0;
    }
    
    /* Cards with less padding */
    .vision, .mission, .contact-form, .contact-info,
    .value-card, .team-member, .service-card, .blog-post {
        padding: 1.5rem;
    }
    
    /* Contact items stack */
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    /* Form elements */
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Floating elements adjustments */
    .whatsapp-chat {
        bottom: 20px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Hide tooltips on small screens */
    .tooltip {
        display: none;
    }
    
    /* Footer company info */
    .company-info .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .company-info .logo img {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .company-info .logo h3 {
        font-size: 1.4rem;
    }
    
    /* Newsletter form */
    .input-group button {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices (400px and below) */
@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }
    
    .logo h1 {
        font-size: 1rem;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* Even smaller section padding */
    .vision-mission, .our-story, .about-section, 
    .values-section, .team-section, .services, 
    .blog, .testimonials, .careers, .contact, .faq {
        padding: 30px 0;
    }
    
    /* Cards with minimal padding */
    .vision, .mission, .contact-form, .contact-info,
    .value-card, .team-member, .service-card, .blog-post {
        padding: 1rem;
    }
    
    /* Typography minimal */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1rem; }
    
    .faq-question {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 0 10px 15px;
        font-size: 0.9rem;
    }
}

/* Landscape phone adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* Fix for overlapping elements */
@media (max-width: 992px) {
    body {
        padding-top: 120px; /* Adjust based on header height */
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 90px;
    }
}

/* Ensure mobile menu doesn't break layout */
@media (max-width: 992px) {
    .main-nav.active {
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Touch-friendly button sizes */
@media (max-width: 768px) {
    .btn, .btn-small {
        min-height: 44px;
        min-width: 44px;
    }
    
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .faq-question {
        min-height: 44px;
    }
}

/* Fix text readability on mobile */
@media (max-width: 576px) {
    body {
        line-height: 1.5;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-content p {
        line-height: 1.4;
    }
}

/* Prevent horizontal scrolling */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
    }
    
    .container {
        overflow: hidden;
    }
}
/* RTL support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .header-inner,
[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

/* Language switcher styles */
.language-switcher {
    margin-left: 20px;
}
[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 20px;
}
html[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .container {
    text-align: right;
}
