* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark: #2C2C2C;
    --color-red: #FF2E2E;
    --color-light: #F5F5F5;
    --color-white: #FFFFFF;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--color-white);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.3s ease;
    word-wrap: break-word;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 2px 20px rgba(44, 44, 44, 0.05);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 70px;
}

.logo img {
    height: 70px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-red);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
    padding-top: 140px;
    box-sizing: border-box;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    letter-spacing: -2px;
}

.hero h1 .highlight {
    color: var(--color-red);
    display: block;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-red);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 46, 46, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 46, 46, 0.4);
}

/* SVG Shapes */
.svg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.svg-shape {
    position: absolute;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.svg-shape:hover {
    opacity: 0.2;
    transform: scale(1.1);
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

/* 4 services: 2 per row */
.services-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

/* 4 services: 4 in one row on large screens */
.services-grid.four-cols {
    grid-template-columns: repeat(4, 1fr);
}

/* 4 values: 2 cols × 2 rows */
.services-grid.values-four {
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(44, 44, 44, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 44, 44, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(44, 44, 44, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--color-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* About Section */
.about-section-wrap {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-content--single {
    grid-template-columns: 1fr;
}

.about-text {
    text-align: left;
}

/* Mission + Vision two columns, centered */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.mission-vision-grid .col {
    padding: 2rem 1.5rem;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.mission-vision-grid h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.mission-vision-grid p {
    font-size: 1rem;
    line-height: 1.75;
    color: #666;
    margin: 0;
}

/* Homepage Our Mission: modern list (no bullets) */
.mission-points {
    display: grid;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    list-style: none;
    padding: 0;
}

.mission-points li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--color-red);
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.mission-points li::before {
    content: none;
}

.mission-section {
    background-color: var(--color-light);
    border-radius: 30px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    max-width: 1200px;
}

.our-values-section {
    background-color: var(--color-light);
    border-radius: 30px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    background: var(--color-light);
    border-radius: 20px;
    height: 400px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 46, 46, 0.3);
}

/* Form feedback modal */
.form-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(44, 44, 44, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.form-modal-overlay--open {
    opacity: 1;
    visibility: visible;
}

.form-modal {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 420px;
    width: 100%;
    padding: 2rem 1.75rem;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.form-modal-overlay--open .form-modal {
    transform: scale(1);
}

.form-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.form-modal-icon--success {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.form-modal-icon--error {
    background: rgba(255, 46, 46, 0.12);
    color: var(--color-red);
}

.form-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.form-modal-message {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.form-modal-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 46, 46, 0.35);
}

.form-modal-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 46, 46, 0.4);
}

@media (max-width: 480px) {
    .form-modal {
        padding: 1.5rem 1.25rem;
    }
    .form-modal-title {
        font-size: 1.2rem;
    }
    .form-modal-message {
        font-size: 0.9375rem;
    }
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 2rem;
    flex-shrink: 0;
}

footer p {
    opacity: 0.8;
    overflow-wrap: break-word;
}

footer a {
    word-break: break-all;
}

.about-text a[href^="mailto:"],
.about-text a[href^="tel:"] {
    word-break: break-all;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    margin: -10px 0 -10px 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    align-items: center;
}

.burger-menu span {
    width: 22px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    flex-shrink: 0;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Modal */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--color-white);
    z-index: 1001;
    padding: 4rem 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    padding: 0;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-close::before {
    transform: rotate(45deg);
}

.mobile-menu-close::after {
    transform: rotate(-45deg);
}

.mobile-menu-close:hover::before,
.mobile-menu-close:hover::after {
    background-color: var(--color-red);
    transform: rotate(45deg) scale(1.1);
}

.mobile-menu-close:hover::after {
    transform: rotate(-45deg) scale(1.1);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 1.5rem;
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-links li a {
    display: block;
    color: var(--color-dark) !important;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.mobile-nav-links li a:hover {
    color: var(--color-red);
    border-bottom-color: var(--color-red);
    padding-left: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .services-grid.four-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    nav .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    nav {
        padding: 0.75rem 0;
        padding-top: calc(0.75rem + var(--safe-top));
    }
    
    nav .container {
        padding: 0 1rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .logo img {
        height: 50px !important;
        max-height: 50px !important;
    }
    
    .hero {
        padding-top: calc(100px + var(--safe-top));
        padding-left: var(--safe-left);
        padding-right: var(--safe-right);
    }
    
    .hero-content {
        padding: 0 1.25rem;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 7vw, 3rem);
        line-height: 1.2;
    }
    
    .hero p {
        font-size: clamp(0.9375rem, 3.5vw, 1.125rem);
        margin-bottom: 2rem;
    }
    
    section {
        padding: 4rem 1.25rem;
        padding-left: calc(1.25rem + var(--safe-left));
        padding-right: calc(1.25rem + var(--safe-right));
    }
    
    .about-section-wrap {
        max-width: 100%;
        padding: 0;
    }
    
    .about-content,
    .about-content--single {
        max-width: 100%;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .about-text h2,
    section .about-text h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .about-text h3,
    section .about-text h3 {
        font-size: 1.25rem !important;
        margin: 1.5rem 0 0.75rem !important;
    }
    
    .about-text p,
    .about-text div p {
        font-size: 1rem !important;
    }
    
    .mission-vision-grid {
        max-width: 100%;
        width: 100%;
        margin-bottom: 2rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-vision-grid .col {
        padding: 1.5rem 1rem;
        min-width: 0;
    }
    
    .mission-vision-grid h3 {
        font-size: 1.2rem !important;
    }
    
    .mission-vision-grid p {
        font-size: 0.9375rem;
    }
    
    .mission-points {
        max-width: 100%;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .mission-points li {
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .our-values-section {
        margin: 2rem auto;
        padding: 2.5rem 1.25rem;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .our-values-section .section-title {
        font-size: 1.5rem !important;
    }
    
    .our-values-section .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .our-values-section .services-grid.values-four {
        grid-template-columns: 1fr !important;
        width: 100%;
        min-width: 0;
        gap: 1.25rem;
    }
    
    .our-values-section .service-card {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }
    
    .our-values-section .service-card p {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .services-grid,
    .services-grid.two-cols,
    .services-grid.four-cols {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .service-card h2 {
        font-size: 1.35rem !important;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5.5vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .mission-section {
        margin: 2.5rem auto;
        padding: 2.5rem 1.25rem;
    }
    
    .about-image {
        height: 280px;
    }
    
    .mission-points li {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
    
    .services-grid.values-four {
        gap: 1.25rem;
    }
    
    .contact-form {
        margin: 2rem auto 0;
        max-width: 100%;
    }
    
    footer {
        padding: 2.5rem 1.25rem;
        padding-bottom: calc(2.5rem + var(--safe-bottom));
        margin-top: 3rem;
    }
    
    footer p {
        font-size: 0.9375rem;
    }
    
    section:last-of-type {
        margin-bottom: 0;
        padding-bottom: 2.5rem;
    }
    
    .mobile-menu {
        width: 85%;
        max-width: 320px;
        padding: 3.5rem 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    nav .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding-top: calc(90px + var(--safe-top));
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 6.5vw, 2.5rem);
    }
    
    section {
        padding: 3rem 1rem;
        padding-left: calc(1rem + var(--safe-left));
        padding-right: calc(1rem + var(--safe-right));
    }
    
    .about-text h2,
    section .about-text h2 {
        font-size: 1.5rem !important;
    }
    
    .about-text h3,
    section .about-text h3 {
        font-size: 1.1rem !important;
        margin: 1.25rem 0 0.5rem !important;
    }
    
    .mission-vision-grid .col {
        padding: 1.25rem 0.875rem;
    }
    
    .mission-points li {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .our-values-section {
        margin: 1.5rem auto;
        padding: 1.25rem 0.875rem;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .our-values-section .section-title {
        font-size: 1.35rem !important;
    }
    
    .our-values-section .services-grid.values-four {
        gap: 1rem;
    }
    
    .our-values-section .service-card {
        padding: 1.125rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h2,
    .service-card h3 {
        font-size: 1.25rem !important;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 16px; /* prevents zoom on iOS when focusing inputs */
    }
    
    .submit-btn {
        padding: 0.875rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    footer {
        padding: 2rem 1rem;
        padding-bottom: calc(2rem + var(--safe-bottom));
        margin-top: 2.5rem;
    }
    
    .mobile-menu {
        width: 100%;
        max-width: none;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.375rem;
    }
    
    section {
        padding: 2.5rem 0.75rem;
    }
}

/* Animations */
.fade-in {
    /* Content visible by default - GSAP will handle animation */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Only hide if GSAP is loaded and ready to animate */
body.gsap-ready .fade-in {
    opacity: 0;
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
}
