@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #173F3A;
    --primary-light: #2E756B;
    --primary-dark: #0e2a27;
    --secondary: #FAE8E9;
    --accent: #d4a574;
    --accent-light: #f0d4b8;
    --white: #FFFFFF;
    --charcoal: #2a2a2a;
    --gray: #6b7280;
    --light-gray: #f8f9fa;
    --border: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(23, 63, 58, 0.06);
    --shadow: 0 8px 32px rgba(23, 63, 58, 0.08);
    --shadow-lg: 0 20px 60px rgba(23, 63, 58, 0.12);
    --shadow-xl: 0 32px 80px rgba(23, 63, 58, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xl: 24px;
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--charcoal);
    background: var(--secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary);
    line-height: 1.2;
}

h4,
h5,
h6 {
    font-family: 'Jost', sans-serif;
    color: var(--primary);
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

.stagger-7 {
    transition-delay: 0.7s;
}

.stagger-8 {
    transition-delay: 0.8s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(46, 117, 107, 0.3);
    }

    50% {
        border-color: rgba(46, 117, 107, 0.8);
    }
}

/* Sidebar Layout */
.main-wrapper {
    margin-left: 240px;
    min-height: 100vh;
    background: var(--secondary);
    position: relative;
    z-index: 1;
    border-radius: 0;
    overflow: hidden;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: var(--primary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    padding: 30px 0 24px;
    overflow-y: auto;
}

.sidebar-logo {
    padding: 0 22px;
    margin-bottom: 36px;
}

.sidebar-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo img {
    height: 38px;
}

.sidebar-logo span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    color: var(--white);
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    padding-left: 20px;
    margin-bottom: auto;
}

.sidebar-links li {
    position: relative;
}

.sidebar-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px 0 0 50px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-family: 'Jost', sans-serif;
}

.sidebar-links li a svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: all 0.3s ease;
}

.sidebar-links li a:hover {
    color: var(--white);
}

.sidebar-links li.active a {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
}

.sidebar-links li.active a svg {
    stroke: var(--primary);
    fill: rgba(23, 63, 58, 0.1);
}

.sidebar-links li.active::before,
.sidebar-links li.active::after {
    content: '';
    position: absolute;
    right: 0;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 1;
}

.sidebar-links li.active::before {
    top: -30px;
    background: radial-gradient(circle at 0 0, transparent 30px, var(--secondary) 30.5px);
}

.sidebar-links li.active::after {
    bottom: -30px;
    background: radial-gradient(circle at 0 100%, transparent 30px, var(--secondary) 30.5px);
}

.sidebar-cta {
    background: rgba(255, 255, 255, 0.08);
    margin: 40px 20px 30px;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-cta h4 {
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.4;
    font-family: 'Jost', sans-serif;
}

.btn-enquire {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.btn-enquire:hover {
    background: var(--white);
    transform: translateY(-2px);
    color: var(--primary);
}

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
}

.sidebar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.sidebar-social a:hover {
    color: var(--white);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    background: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease-in-out;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--primary);
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.mobile-logo img {
    height: 38px;
}

@media (max-width: 992px) {
    .main-wrapper {
        margin-left: 0;
        border-radius: 0;
        padding-top: 70px;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.4s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .mobile-header {
        display: flex;
    }

    .hamburger {
        display: flex;
        position: relative;
        top: 0;
        right: 0;
        box-shadow: none;
        background: transparent;
    }

    .hamburger span {
        background: var(--white);
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
    transform-origin: center;
    scale: 1.05;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(14, 42, 39, 0.94) 0%, rgba(23, 63, 58, 0.88) 40%, rgba(46, 117, 107, 0.82) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(250, 232, 233, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.hero-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
    animation-duration: 5s;
}

.hero-particle:nth-child(3) {
    top: 40%;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.hero-particle:nth-child(4) {
    top: 70%;
    left: 60%;
    animation-delay: 0.5s;
    animation-duration: 6s;
}

.hero-particle:nth-child(5) {
    top: 15%;
    left: 70%;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

.hero-particle:nth-child(6) {
    top: 85%;
    left: 40%;
    animation-delay: 3s;
    animation-duration: 7s;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 860px;
    padding: 0 28px;
}

.hero-badge {
    display: inline-block;
    background: rgba(250, 232, 233, 0.15);
    border: 1px solid rgba(250, 232, 233, 0.25);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease forwards;
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    font-size: 4.2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 28px;
    animation: fadeInDown 1s ease 0.2s forwards;
    opacity: 0;
    letter-spacing: -1px;
}

.hero-content h1 em {
    font-style: normal;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

.hero-services li {
    list-style: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 14px 30px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
    font-family: 'Space Grotesk', sans-serif;
}

.hero-services li:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.7s forwards;
    opacity: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: var(--primary);
    padding: 18px 44px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 18px 44px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-secondary:hover::before {
    transform: translateX(100%);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeIn 1s ease 1.2s forwards, float 3s ease-in-out 2s infinite;
    opacity: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: pulse 2s ease-in-out infinite;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-alt {
    background: var(--light-gray);
}

.section-cream {
    background: var(--secondary);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-gradient {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 16px;
    position: relative;
    padding: 0 40px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--primary-light);
}

.section-label::before {
    left: 0;
}

.section-label::after {
    right: 0;
}

.section-dark .section-label {
    color: var(--secondary);
}

.section-dark .section-label::before,
.section-dark .section-label::after {
    background: var(--secondary);
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.director-section {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: center;
}

.director-image-wrapper {
    position: relative;
}

.director-image-wrapper::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    opacity: 0.3;
    transition: var(--transition);
}

.director-image-wrapper:hover::before {
    opacity: 0.6;
    top: -20px;
    left: -20px;
}

.director-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.director-image:hover {
    transform: scale(1.04) rotate(2deg);
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-quote {
    position: relative;
    padding-left: 36px;
}

.director-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 0;
    font-family: 'DM Serif Display', serif;
    font-size: 6rem;
    color: var(--primary-light);
    opacity: 0.15;
    line-height: 1;
}

.director-quote p {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--gray);
    font-weight: 300;
}

.director-quote .director-name {
    margin-top: 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 12px;
}

.director-quote .director-name::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--primary-light);
}

.commitment-box {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: var(--white);
    padding: 80px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.commitment-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 232, 233, 0.05) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

.commitment-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(23, 63, 58, 0.3);
}

.commitment-box h2 {
    color: var(--white);
    margin-bottom: 28px;
    font-size: 2.4rem;
    position: relative;
}

.commitment-box p {
    font-size: 1.15rem;
    line-height: 2;
    opacity: 0.92;
    position: relative;
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 48px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(23, 63, 58, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item .gallery-icon {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    color: var(--white);
    font-size: 2.2rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(14, 42, 39, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(16px);
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lightbox-close {
    position: absolute;
    top: 32px;
    right: 40px;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg) scale(1.1);
}

.page-banner {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.3s ease;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(14, 42, 39, 0.94) 0%, rgba(23, 63, 58, 0.88) 40%, rgba(46, 117, 107, 0.82) 100%);
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.page-banner-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 16px;
    animation: fadeInDown 0.8s ease forwards;
    letter-spacing: -0.5px;
}

.page-banner-content p {
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.page-banner-breadcrumb {
    margin-top: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.page-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.page-banner-breadcrumb a:hover {
    color: var(--white);
}

.page-banner-breadcrumb span {
    color: var(--secondary);
    margin: 0 8px;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro-content h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.about-intro-content p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--gray);
    margin-bottom: 16px;
}

.about-intro-image {
    position: relative;
}

.about-intro-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-intro-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-xl);
    opacity: 0.2;
    z-index: -1;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    background: var(--white);
    padding: 56px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.vm-card:hover::before {
    transform: scaleX(1);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.vm-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.vm-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.vm-card p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray);
}

.team-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.team-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    position: relative;
}

.team-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(23, 63, 58, 0.3) 100%);
    transition: var(--transition);
}

.team-image:hover {
    transform: scale(1.02) rotate(-1deg);
}

.team-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.team-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.team-content>p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 28px;
}

.training-list {
    list-style: none;
}

.training-list li {
    padding: 14px 0;
    padding-left: 36px;
    position: relative;
    font-size: 1.05rem;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-fast);
}

.training-list li:last-child {
    border-bottom: none;
}

.training-list li:hover {
    padding-left: 44px;
    color: var(--charcoal);
}

.training-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    top: 50%;
    transform: translateY(-50%);
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
    padding-bottom: 100px;
    border-bottom: 1px solid var(--border);
}

.service-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse>* {
    direction: ltr;
}

.service-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(23, 63, 58, 0.2) 100%);
}

.service-image:hover {
    transform: scale(1.03) rotate(-1deg);
}

.service-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.service-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-content>p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 28px;
}

.offerings-list {
    list-style: none;
    display: grid;
    gap: 6px;
}

.offerings-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 1rem;
    color: var(--gray);
    transition: var(--transition-fast);
}

.offerings-list li:hover {
    color: var(--charcoal);
    padding-left: 34px;
}

.offerings-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
    transition: var(--transition-fast);
}

.offerings-list li:hover::before {
    left: 4px;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.workflow-card {
    background: var(--white);
    padding: 44px 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.workflow-card:hover::before {
    transform: scaleX(1);
}

.workflow-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.workflow-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 18px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    font-family: 'Space Grotesk', sans-serif;
    transition: var(--transition);
}

.workflow-card:hover .workflow-number {
    transform: scale(1.1) rotate(5deg);
    border-radius: 50%;
}

.workflow-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.workflow-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.cert-card {
    background: var(--white);
    padding: 40px 28px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cert-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.cert-card:hover::after {
    transform: scaleX(1);
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.cert-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

.cert-card:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
    border-radius: 50%;
}

.cert-card h4 {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 600;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.client-category {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.client-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.client-category-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.client-category-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.client-category-header h3 {
    color: var(--white);
    font-size: 1.4rem;
    position: relative;
}

.client-list {
    list-style: none;
    padding: 28px;
}

.client-list li {
    padding: 14px 0;
    padding-left: 24px;
    position: relative;
    font-size: 1rem;
    color: var(--gray);
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition-fast);
}

.client-list li:last-child {
    border-bottom: none;
}

.client-list li:hover {
    color: var(--charcoal);
    padding-left: 30px;
}

.client-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.client-list li:hover::before {
    background: var(--primary);
    transform: translateY(-50%) scale(1.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: var(--white);
    padding: 56px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(250, 232, 233, 0.06) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

.contact-info-card h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 36px;
    position: relative;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    position: relative;
    transition: var(--transition-fast);
}

.contact-detail:hover {
    transform: translateX(5px);
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-detail:hover .contact-detail-icon {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

.contact-detail-text h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.contact-detail-text p,
.contact-detail-text a {
    font-size: 1.05rem;
    color: var(--white);
    line-height: 1.6;
}

.contact-detail-text a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.contact-detail-text a:hover {
    text-decoration-color: var(--white);
}

.regional-offices {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.regional-offices h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.regional-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.regional-list span {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 22px;
    border-radius: 60px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
    font-family: 'Space Grotesk', sans-serif;
}

.regional-list span:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.contact-form-card {
    background: var(--white);
    padding: 56px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-form-card h3 {
    font-size: 2rem;
    margin-bottom: 36px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--charcoal);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--charcoal);
    transition: var(--transition);
    background: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 5px rgba(46, 117, 107, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 36px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 100px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-light), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 56px;
    padding-bottom: 72px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 16px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.footer-about .footer-logo img {
    height: 42px;
}

.footer-about .footer-logo span {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition-fast);
    color: var(--primary-light);
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(6px);
}

.footer-links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.footer-contact-item span:first-child {
    flex-shrink: 0;
    font-size: 1.2rem;
    opacity: 0.7;
}

.footer-contact-item span:last-child,
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding: 28px 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Space Grotesk', sans-serif;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
}

.expertise-card span {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--primary));
    opacity: 0.2;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
        flex-direction: column;
        padding: 120px 44px 40px;
        gap: 6px;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li a {
        padding: 16px 24px;
        font-size: 1.15rem;
        border-radius: 12px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

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

    .hero-services {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .director-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .director-image-wrapper {
        display: flex;
        justify-content: center;
    }

    .director-image {
        width: 220px;
        height: 220px;
    }

    .director-quote {
        padding-left: 0;
    }

    .director-quote::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .team-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-block.reverse {
        direction: ltr;
    }

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

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

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-banner {
        height: 350px;
    }

    .page-banner-content h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .commitment-box {
        padding: 48px 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        height: 68px;
    }

    .navbar.scrolled .container {
        height: 60px;
    }

    .navbar .logo span {
        font-size: 1.15rem;
    }

    .navbar .logo img {
        height: 36px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-services li {
        padding: 10px 22px;
        font-size: 0.88rem;
    }

    .btn-primary,
    .btn-outline,
    .btn-secondary {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 32px 20px;
    }

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

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

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

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

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

    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

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

    .page-banner {
        height: 280px;
    }

    .page-banner-content h1 {
        font-size: 1.6rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 32px 24px;
    }

    .vm-card {
        padding: 32px 28px;
    }

    .director-image {
        width: 180px;
        height: 180px;
    }

    .commitment-box h2 {
        font-size: 1.6rem;
    }
}

/* Page Banner */
.page-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: var(--primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
}

.page-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 63, 58, 0.9), rgba(23, 63, 58, 0.4));
    z-index: 2;
}

.page-banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.page-banner h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.2rem;
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto;
}


.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-image {
    position: relative;
}

.split-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.split-content h2 {
    font-size: 2.8rem;
}

.rounded-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(23, 63, 58, 0.15);
}

.section-cream {
    background: rgba(255, 255, 255, 0.55);
}

.section-alt {
    background: rgba(255, 255, 255, 0.35);
}

.link-arrow {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.link-arrow:hover {
    letter-spacing: 0.5px;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.hero-pills span {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.services-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.service-home-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-fast);
}

.service-home-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-home-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-home-body {
    padding: 24px;
}

.service-home-body h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-home-body p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 63, 58, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-overlay span {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 300;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.vm-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vm-card-icon {
    background: var(--secondary);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-card-icon svg {
    stroke: var(--primary);
}

.vm-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

.stats-section {
    background: var(--white);
    padding: 40px 0;
}

.page-banner {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 63, 58, 0.88), rgba(23, 63, 58, 0.4));
    z-index: 2;
}

.page-banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.page-banner-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.page-banner-content p {
    font-size: 1.2rem;
    color: var(--secondary);
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse>* {
    direction: ltr;
}

.service-image img.rounded-img {
    height: 380px;
}

.section-dark {
    background: var(--primary);
}

.section-dark .section-label {
    color: rgba(250, 232, 233, 0.7);
}

.section-dark h2,
.section-dark p {
    color: var(--white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.expertise-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.expertise-card svg {
    stroke: var(--primary);
}

.expertise-card p {
    font-weight: 600;
    color: var(--charcoal);
}


@media (max-width: 768px) {

    .split-section,
    .service-block,
    .services-home-grid,
    .expertise-grid,
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .page-banner-content h1 {
        font-size: 2.4rem;
    }

    .service-block.reverse {
        direction: ltr;
    }
}