/* Nav Brand Logo Image Styling */
.nav-brand .logo-img {
    height: 50px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
    object-fit: contain;
   
}
.nav-brand .footer-img{
    height: 120px;

}

/* .main-content {
    margin-top: var(--nav-height);
}

.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 51, 102, 0.9)), 
                  url('../assests/MAFINA/Mafina-pics-2025/img4.jpg') no-repeat center center;
    text-align: center;
    color: var(--white);
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: var(--font-5xl);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-subtitle {
    font-size: var(--font-large);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
} */



/* CSS Variables */
:root {
  --black: #000000;
    --cyan-bluish-gray: #abb8c3;
    --white: #ffffff;
    --pale-pink: #f78da7;
    --vivid-red: #cf2e2e;
    --luminous-vivid-orange: #ff6900;
    --luminous-vivid-amber: #fcb900;
    --light-green-cyan: #7bdcb5;
    --vivid-green-cyan: #00d084;
    --pale-cyan-blue: #8ed1fc;
    --vivid-cyan-blue: #0693e3;
    --vivid-purple: #9b51e0;
    --gradient-vivid-cyan-blue-to-purple: linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%);
    --gradient-orange-to-red: linear-gradient(135deg, rgba(255, 105, 0, 1) 0%, rgb(207, 46, 46) 100%);
    --gradient-cool-to-warm: linear-gradient(135deg, rgb(74, 234, 220) 0%, rgb(151, 120, 209) 20%, rgb(207, 42, 186) 40%, rgb(238, 44, 130) 60%, rgb(251, 105, 98) 80%, rgb(254, 248, 76) 100%);
    --shadow-deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
    
    /* Additional Variables */
    --primary-bg: #f8fafc;
    --secondary-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --nav-height: 80px;
    
    /* Font Sizes */
    --font-small: 0.875rem;
    --font-medium: 1rem;
    --font-large: 1.125rem;
    --font-x-large: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
    --font-5xl: 3rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-bg);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    box-shadow: var(--shadow-deep);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-brand .logo {
    font-size: var(--font-2xl);
    font-weight: 800;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
   
}



.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-vivid-cyan-blue-to-purple);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--vivid-cyan-blue);
}

.nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-small);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.25rem;
}

.dropdown-link:hover {
    background: var(--gradient-vivid-cyan-blue-to-purple);
    color: var(--white);
    transform: translateX(4px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    list-style: none;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-overlay.active .mobile-nav {
    transform: scale(1);
}

.mobile-nav-item {
    margin: 1rem 0;
    transform: translateY(30px);
    opacity: 0;
    animation: slideInStaggered 0.6s ease forwards;
}

.mobile-overlay.active .mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-overlay.active .mobile-nav-item:nth-child(2) { animation-delay: 0.2s; }
.mobile-overlay.active .mobile-nav-item:nth-child(3) { animation-delay: 0.3s; }
.mobile-overlay.active .mobile-nav-item:nth-child(4) { animation-delay: 0.4s; }
.mobile-overlay.active .mobile-nav-item:nth-child(5) { animation-delay: 0.5s; }
.mobile-overlay.active .mobile-nav-item:nth-child(6) { animation-delay: 0.6s; }
.mobile-overlay.active .mobile-nav-item:nth-child(7) { animation-delay: 0.7s; }
.mobile-overlay.active .mobile-nav-item:nth-child(8) { animation-delay: 0.8s; }

.mobile-nav-link {
    color:black;
    text-decoration: none;
    font-size: var(--font-x-large);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-nav-link:hover {
    background: var(--gradient-vivid-cyan-blue-to-purple);
    transform: scale(1.05);
}

.mobile-dropdown {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
}

.mobile-dropdown.active {
    max-height: 400px;
}

.mobile-dropdown .mobile-nav-link {
    font-size: var(--font-medium);
    color: black;
    margin-left: 1rem;
}
/* Flex header for nav item */
.mobile-nav-header {
display: flex;
  align-items: center;
  justify-content: center; /* center text + icon */
  gap: 0.5rem; /* spacing between text and icon */
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
}


.hamburger {
  display: none !important; /* default hidden */
}
@media (max-width: 1024px) {
  .hamburger {
    display: flex !important; /* show only on mobile */
  }
  .nav-menu {
    display: none !important; /* hide desktop nav */
  }
}
@media (min-width: 1025px) {
  .nav-menu {
    display: flex !important; /* show desktop nav again */
  }
  .hamburger {
    display: none !important; /* hide hamburger */
  }
}


/* Old toggle removed (no longer needed) */
/* .mobile-dropdown-toggle.active i {
    transform: rotate(180deg);
} */

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .mobile-nav-link {
        font-size: var(--font-large);
    }
}

/* Focus states for accessibility */
.nav-link:focus,
.dropdown-link:focus,
.mobile-nav-link:focus,
.footer-link:focus,
.legal-link:focus {
    outline: 2px solid var(--vivid-cyan-blue);
    outline-offset: 2px;
}

/* ✅ NEW: Submenu toggle styling */
.submenu-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}

.submenu-toggle.active i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

@keyframes slideInStaggered {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Main Content */
.main-content {
    margin-top: var(--nav-height);
}

/* Hero Slider Styles */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background-color: #0a1a2e;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    transition: transform 8s ease-out;
}

.hero-slide.active .slide-bg {
    transform: scale(1.05);
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 2rem;
    text-align: center;
}

.hero-text {
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
    letter-spacing: -0.05em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

/* Slider Controls */
.hero-slider-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    z-index: 4;
}

.slider-prev, .slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 4;
}

.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dots .dot.active {
    background: #0693e3;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(6, 147, 227, 0.5);
}

/* Buttons */
.btn {
        display: inline-block;
        padding: 0.8rem 2rem;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .btn-primary {
        background: var(--accent);
        color: white;
        border: 2px solid var(--accent);
    }
    
    .btn-primary:hover {
        background: transparent;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .btn-outline {
        background: transparent;
        color: white;
        border: 2px solid white;
    }
    
    .btn-outline:hover {
        background: white;
        color: var(--primary-dark);
        transform: translateY(-3px);
    }
    

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Animations */
@keyframes typewriter {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    50% { border-color: transparent }
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #0693e3;
    animation: 
        typewriter 2.5s steps(20) 0.5s forwards,
        blink 0.8s infinite;
    display: inline-block;
    margin: 0 auto;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-slider-controls {
        bottom: 2rem;
    }
}
/* Careers Section Styles */
.careers-section {
    background-color: #f8fafc;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.careers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%);
    z-index: 0;
}

/* .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0a1a2e;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
} */

.careers-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.career-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.career-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.career-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #0693e3, #9b51e0);
    transition: height 0.6s ease;
}

.career-feature-card:hover::before {
    height: 100%;
}

.feature-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.feature-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.1) 0%, rgba(155, 81, 224, 0.1) 100%);
    border-radius: 50%;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.career-feature-card:hover .feature-icon-bg {
    transform: scale(1);
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.15) 0%, rgba(155, 81, 224, 0.15) 100%);
}

.feature-icon {
    position: relative;
    font-size: 2rem;
    color: #0693e3;
    z-index: 2;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0a1a2e;
}

.feature-content p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-benefits {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-benefits li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #4a5568;
}

.feature-benefits i {
    color: #0693e3;
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

/* Careers CTA */
.careers-cta {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.careers-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.03) 0%, rgba(155, 81, 224, 0.03) 100%);
    z-index: -1;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0a1a2e;
}

.cta-text p {
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(6, 147, 227, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 147, 227, 0.4);
}

.btn-outline {
    background: transparent;
    color: #0693e3;
    border: 2px solid #0693e3;
}

.btn-outline:hover {
    background: rgba(6, 147, 227, 0.05);
    transform: translateY(-3px);
}

.with-icon {
    gap: 0.75rem;
}

/* Testimonials */
.careers-testimonials {
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(6, 147, 227, 0.1);
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.testimonial-content p {
    font-size: 1.25rem;
    color: #4a5568;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(6, 147, 227, 0.2);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a1a2e;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .career-feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .careers-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .careers-cta {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .feature-content h3 {
        font-size: 1.3rem;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
    }
}
/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

/* .about-section {
    background: var(--white);
}

.services-section {
    background: var(--primary-bg);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.section-title {
    font-size: var(--font-4xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-large);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
} */

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(6, 147, 227, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateX(8px);
    background: rgba(6, 147, 227, 0.1);
}

.feature i {
    font-size: 1.5rem;
    color: var(--vivid-cyan-blue);
}

.feature span {
    font-weight: 600;
    color: var(--text-primary);
}

.service-list {
    list-style: none;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    color: var(--vivid-green-cyan);
    font-size: 1.25rem;
}

.service-item span {
    font-weight: 500;
    color: var(--text-primary);
}
/* 
.image-placeholder, .section-image img {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
} */

.zoom-in-hover:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-deep);
}

/* CTA Section */
  /* CTA Section Styles */
    .cta-section {
        position: relative;
        padding: 5rem 2rem;
        text-align: center;
        color: white;
        overflow: hidden;
    }
    
    .cta-bg-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0, 86, 179, 0.85), rgba(0, 51, 102, 0.85)), 
                    url('../assests/MAFINA/Mafina-pics-2025/img6.jpg') no-repeat center center;
        background-size: cover;
        z-index: -1;
        transform: scale(1);
        transition: transform 8s ease;
    }
    
    .cta-section:hover .cta-bg-image {
        transform: scale(1.05);
    }
    
    .cta-content {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
    }
    
    .cta-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 1rem;
    }
    
    .cta-title:after {
        content: '';
        position: absolute;
        width: 80px;
        height: 3px;
        background: var(--accent);
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cta-description {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .btn {
        display: inline-block;
        padding: 0.8rem 2rem;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .btn-primary {
        background: var(--accent);
        color: white;
    }
    
    .btn-primary:hover {
        background: white;
        color: var(--accent);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .btn-outline {
        background: transparent;
        color: white;
        border: 2px solid white;
    }
    
    .btn-outline:hover {
        background: white;
        color: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    /* Pulse Animation for Primary Button */
    .pulse {
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(0, 160, 225, 0.7);
        }
        70% {
            box-shadow: 0 0 0 15px rgba(0, 160, 225, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(0, 160, 225, 0);
        }
    }
    
    /* Fade-in Animation */
    .fade-in-up {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 1s ease-out forwards;
    }
    
    .fade-in-up:nth-child(1) {
        animation-delay: 0.2s;
    }
    
    .fade-in-up:nth-child(2) {
        animation-delay: 0.4s;
    }
    
    .fade-in-up:nth-child(3) {
        animation-delay: 0.6s;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .cta-title {
            font-size: 2rem;
        }
        
        .cta-description {
            font-size: 1rem;
        }
        
        .btn {
            padding: 0.6rem 1.5rem;
        }
    }
/* Footer */
.footer {
    background: #0a1a2e;
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-vivid-cyan-blue-to-purple);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: var(--font-x-large);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-description {
    color: var(--cyan-bluish-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--vivid-cyan-blue);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item span {
    color: var(--cyan-bluish-gray);
    line-height: 1.5;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: var(--cyan-bluish-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--vivid-cyan-blue);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--cyan-bluish-gray);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.legal-link {
    color: var(--cyan-bluish-gray);
    text-decoration: none;
    font-size: var(--font-small);
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--vivid-cyan-blue);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-vivid-cyan-blue-to-purple);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(6, 147, 227, 0.3);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 147, 227, 0.4);
}

/* Animations */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* New Section Styles */

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.text-center {
    text-align: center;
}

/* Terminals Section */
.terminals-section {
    background: var(--white);
    padding: 6rem 0;
}

.terminals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.terminal-card {
    background: var(--primary-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.terminal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-deep);
    border-color: var(--vivid-cyan-blue);
}

.terminal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-vivid-cyan-blue-to-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.terminal-icon i {
    font-size: 2rem;
    color: var(--white);
}

.terminal-title {
    font-size: var(--font-x-large);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.terminal-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.terminal-features {
    list-style: none;
    text-align: left;
}

.terminal-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-primary);
    font-weight: 500;
}

.terminal-features i {
    color: var(--vivid-green-cyan);
    font-size: 1rem;
}

/* Energy Section */
.energy-section {
    background: var(--primary-bg);
}

.energy-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: var(--font-4xl);
    font-weight: 800;
    background: var(--gradient-vivid-cyan-blue-to-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: var(--font-small);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.energy-initiatives {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.initiative {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.initiative:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.initiative i {
    font-size: 2rem;
    color: var(--vivid-green-cyan);
    margin-top: 0.25rem;
}

.initiative h4 {
    font-size: var(--font-large);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.initiative p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsibility Section */
.responsibility-section {
    background: var(--white);
}

.responsibility-pillars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(155, 81, 224, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pillar:hover {
    transform: translateX(8px);
    background: rgba(155, 81, 224, 0.1);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-vivid-cyan-blue-to-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.pillar-content h4 {
    font-size: var(--font-large);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.pillar-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}




/* Animation Classes */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--white);
    animation: typewriter 3s steps(20) 1s forwards, 
               blink 0.8s infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.zoom-in.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .terminals-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .energy-stats {
        grid-template-columns: 1fr;
    }
    
    .careers-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .nav-brand .logo-img{
        height: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: var(--font-4xl);
    }
    
    .section-title {
        font-size: var(--font-3xl);
    }
    
    .hero-buttons,
    .cta-buttons,
    .career-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-nav-link {
        font-size: var(--font-large);
    }
    
    .terminals-grid,
    .careers-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .energy-stats {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: var(--font-3xl);
    }
    
    .pillar,
    .initiative {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .pillar-icon,
    .benefit-icon {
        align-self: center;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: var(--font-3xl);
    }
    
    .section-title {
        font-size: var(--font-2xl);
    }
    
    .hero-description,
    .section-description,
    .cta-description {
        font-size: var(--font-medium);
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .image-placeholder, .section-image img {
        height: 300px;
    }
    .nav-brand .footer-img{
    height: 100px;

}
}

/* Scroll-based header shadow */
@media (min-width: 769px) {
    .header {
        transition: all 0.3s ease;
    }
}

/* Enhanced mobile experience */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .section-content {
        padding: 0 1rem;
    }
    
    .features,
    .service-list {
        gap: 0.75rem;
    }
    
    .feature {
        padding: 0.75rem;
    }
    
    .contact-info {
        gap: 0.75rem;
    }
    .nav-brand .footer-img{
    height: 100px;

}
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .typewriter {
        animation: none;
        border-right: none;
    }
    
    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .zoom-in {
        opacity: 1;
        transform: none;
    }
}

/* Focus states for accessibility */
.nav-link:focus,

.dropdown-link:focus,
.mobile-nav-link:focus,
.footer-link:focus,
.legal-link:focus {
    outline: 2px solid var(--vivid-cyan-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero::before {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .btn-primary {
        border: 2px solid var(--white);
    }
    
    .nav-link::after {
        height: 3px;
    }
}