:root {
    --primary: #003366;
    --secondary: #EB5E28;
    --dark: #0a192f;
    --light: #f8f9fa;
    --text: #333;
    --text-muted: #666;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    color: var(--primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
}

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

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

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

.bg-dark .section-title {
    color: var(--white);
}

.bg-light {
    background: #f0f4f8;
}

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    height: 70px;
    background: var(--white);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.8rem;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 3px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

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

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
    }

    .nav a {
        font-size: 1.2rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
}

.hero .highlight {
    color: var(--secondary);
    display: block;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-badges span {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
}

/* About Section */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--primary);
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Values Card */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.value-card:hover {
    background: var(--white);
    color: var(--text);
    transform: translateY(-10px);
}

.value-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 250px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Roadmap */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 50px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary);
    opacity: 0.1;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 5px rgba(235, 94, 40, 0.2);
    z-index: 1;
}

.timeline-item .year {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Team */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.team-member {
    text-align: center;
}

.team-member .avatar {
    width: 150px;
    height: 150px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto 20px;
    border: 5px solid var(--light);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer .logo {
    margin-bottom: 20px;
}

.footer .logo-main {
    color: var(--white);
}

.footer-contact h4 {
    margin-bottom: 25px;
    color: var(--secondary);
}

.footer-contact p {
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

.commitment-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .commitment-content {
        font-size: 1.1rem;
        padding: 0 10px;
    }
}

@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {
    .header .container {
        justify-content: space-between;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .roadmap-timeline {
        padding-left: 30px;
    }

    .timeline-item .year {
        font-size: 1.2rem;
    }

    .footer {
        text-align: center;
    }

    .footer .logo {
        align-items: center;
    }
}
.letter-opener {
    margin-top: 80px; 
    padding: 50px; 
    background: #f9f9f9; 
    border-left: 5px solid var(--secondary);
}

.letter-title {
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .letter-opener {
        margin-top: 40px;
        padding: 25px;
    }
    .letter-title {
        font-size: 1.5rem;
    }
}
