/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Colors - Based on logo navy blue */
    --primary-color: #1D4E6F;
    --primary-dark: #153A52;
    --primary-light: #2A6B94;
    --accent-color: #FF8C42;
    --accent-dark: #E67A33;
    
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-alt: #f1f5f9;
    
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --header-height: 80px;
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* ==================== UTILITIES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section--alt {
    background-color: var(--bg-secondary);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.938rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-align: center;
}

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

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn--full {
    width: 100%;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav__logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav__list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

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

.hero__subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s 0.2s ease both;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s 0.4s ease both;
}

.hero__image {
    position: relative;
    height: 500px;
}

.hero__shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    animation: float 6s ease-in-out infinite;
}

.hero__shape::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.2;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

/* ==================== SERVICE CARDS ==================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-card__description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent-color);
}

.service-card__link:hover {
    gap: 12px;
}

/* ==================== WHY CHOOSE US ==================== */
.why-choose__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose__text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature__icon {
    width: 32px;
    height: 32px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature__content h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.feature__content p {
    color: var(--text-secondary);
}

.why-choose__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}

.stat-card__number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ==================== CTA SECTION ==================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.cta__content {
    color: white;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #fff !important;
}

.cta__description {
    font-size: 1.125rem;
    opacity: 0.9;
}

.contact-form-mini {
    background-color: white;
    padding: 32px;
    border-radius: var(--radius-lg);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.938rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 78, 111, 0.1);
}

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

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer__description {
    font-size: 0.938rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff !important;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.938rem;
    opacity: 0.8;
    transition: var(--transition-base);
}

.footer__links a:hover {
    opacity: 1;
    padding-left: 4px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.938rem;
    opacity: 0.8;
}

.footer__contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a:hover {
    opacity: 1;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==================== RESPONSIVE ==================== */
@media screen and (max-width: 968px) {
    .section__title {
        font-size: 2rem;
    }
    
    .hero__container,
    .why-choose__grid,
    .cta {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__image {
        height: 350px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        padding: 80px 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
        z-index: 100;
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .nav__toggle,
    .nav__close {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 24px;
        right: 24px;
    }
}

@media screen and (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose__stats {
        grid-template-columns: 1fr;
    }
    
    .cta {
        padding: 40px 24px;
    }
    
    .cta__title {
        font-size: 1.75rem;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
