/* ==================== CSS VARIABLES ==================== */
:root {
    --navy: #0D1F3C;
    --red: #B22222;
    --accent: #C8102E;
    --gray: #4A4F5A;
    --light-gray: #D5D2CC;
    --light-bg: #F5F4F0;
    --white: #FFFFFF;
    --dark: #1a1a1a;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'DM Sans', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--navy);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.accent-text {
    color: var(--accent);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 31, 60, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: var(--transition);
    margin: 0;
    padding: 0;
    width: 250px;
    background: var(--light-gray);
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-mark {
    width: 100%;
    height: auto;
    max-height: 70px;
    /* background: var(--light-bg); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 20px;
    color: white;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
    margin: 0;
    padding: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 18px;
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.nav-cta:hover {
    background: #a01d27;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: var(--transition);
    border-radius: 2px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2f4f 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-geo {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
}

.hero-geo-1 {
    bottom: -80px;
    right: -60px;
    width: 580px;
    height: 580px;
    border-color: rgba(200, 16, 46, 0.12);
}

.hero-geo-2 {
    bottom: -120px;
    right: -100px;
    width: 720px;
    height: 720px;
    border-color: rgba(200, 16, 46, 0.06);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-tag {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-tag i {
    font-size: 14px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(48px, 7vw, 90px);
    font-weight: 300;
    color: white;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.hero-title .word {
    display: inline-block;
    margin-right: 0.25em;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 44px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 3px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}

.btn-primary:hover {
    background: #a01d27;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 16, 46, 0.4);
}

.btn-ghost {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

/* ==================== SECTIONS ==================== */
section {
    position: relative;
    overflow: hidden;
}

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

.section-tag {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.section-tag i {
    font-size: 14px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.section-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray);
    margin-top: 24px;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 100px 0;
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 44px;
}

.fact-card {
    padding: 32px 28px;
    background: white;
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.fact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.fact-card:hover::before {
    opacity: 1;
}

.fact-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    color: var(--navy);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.fact-label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 8px;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2px;
    background: #E8E5DF;
    border-radius: 2px;
}

.service-card {
    background: white;
    padding: 40px 36px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2f4f 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    z-index: 10;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    color: white;
    font-size: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: white;
    color: var(--accent);
    transform: scale(1.1);
}

.service-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    color: #E8E5DF;
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.15);
}

.service-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

.service-card:hover .service-name {
    color: white;
}

.service-description {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray);
    transition: color 0.3s;
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== VISION SECTION ==================== */
.vision {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2f4f 100%);
    position: relative;
    overflow: hidden;
}

.vision::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.vision-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 16, 46, 0.4);
    transform: translateY(-8px);
}

.vision-label {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.vision-label i {
    font-size: 14px;
}

.vision-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.vision-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 36px;
    letter-spacing: -0.5px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.contact-detail:hover .contact-icon {
    background: var(--navy);
    transform: scale(1.1);
}

.contact-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-value {
    font-size: 15px;
    color: var(--navy);
    font-weight: 400;
}

.contact-value a {
    color: var(--accent);
    transition: var(--transition);
}

.contact-value a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px);
}

/* ==================== FORMS ==================== */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.form-group label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    background: white;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--navy);
    outline: none;
    transition: var(--transition);
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-sans);
}

.btn-submit {
    width: 100%;
    background: var(--navy);
    color: white;
    padding: 14px 40px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 4px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(13, 31, 60, 0.2);
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.3);
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2f4f 100%);
    padding: 48px 0;
    border-top: 1px solid rgba(200, 16, 46, 0.2);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 16px;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-copy {
    text-align: right;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-designed {
    margin-top: 6px;
    font-size: 11px;
}

.footer-designed i {
    color: var(--accent);
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

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

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        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);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .contact-info {
        position: static;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-scroll {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-title {
        font-size: 42px;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 31, 60, 0.98);
        flex-direction: column;
        padding: 20px 5%;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 5% 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }
}
