:root {
    --navy: #1a3a5c;
    --orange: #f5a623;
    --blue: #2c7bb6;
    --green: #4a9b4a;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light);
}

/* ===== HEADER / NAV ===== */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-logo { height: 70px; width: auto; min-height: 70px; }

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--orange);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    padding: 120px 5% 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(44,123,182,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(26,58,92,0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h1 span { color: var(--orange); }

.hero-text p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 35px;
    font-weight: 300;
}

.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--navy);
    color: white;
    box-shadow: 0 10px 30px rgba(26,58,92,0.3);
}

.btn-primary:hover {
    background: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245,166,35,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: white;
    transform: translateY(-3px);
}

/* ===== SECTIONS ===== */
section {
    padding: 90px 5%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--orange);
    margin: 15px auto;
    border-radius: 2px;
}

/* ===== ABOUT ===== */
.about { background: white; }

.about-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px;
    width: 100%; height: 100%;
    border: 3px solid var(--orange);
    border-radius: 20px;
    z-index: -1;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 18px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 18px;
    font-size: 1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--orange);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SERVICES ===== */
.services {
    background: linear-gradient(135deg, var(--navy) 0%, #0f2744 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.services .section-header h2,
.services .section-header p { color: white; }

.services-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: white;
}

.service-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
}

/* ===== CONTACT ===== */
.contact { background: var(--light); }

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-icon {
    width: 45px; height: 45px;
    background: var(--navy);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item div strong {
    display: block;
    color: var(--navy);
    margin-bottom: 3px;
    font-size: 0.95rem;
}

.contact-item div span,
.contact-item div a {
    color: var(--gray);
    font-size: 0.92rem;
    text-decoration: none;
}

.contact-item div a:hover { color: var(--orange); }

.contact-form {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245,166,35,0.3);
}

.success-msg {
    background: #dcfce7;
    color: #166534;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.error-msg {
    background: #fee2e2;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy);
    color: white;
    padding: 50px 5% 25px;
    text-align: center;
}

.footer-logo {
    height: 90px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--orange); }

.footer-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-content,
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 { font-size: 2.3rem; }
    .hero-logo { max-width: 280px; margin: 0 auto; }
    .btn-group { justify-content: center; }
    .about-image::before { display: none; }
    .stats { justify-content: center; }
    .contact-info { text-align: center; }
    .contact-item { justify-content: center; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .nav-logo { height: 55px; min-height: 55px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; }
    .section-header h2 { font-size: 1.7rem; }
    .stats { grid-template-columns: 1fr; gap: 18px; }
    .contact-form { padding: 22px; }
    .services-grid { grid-template-columns: 1fr; }
}

/* ===== PROJECT CARDS ===== */
.project-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.project-card .project-info {
    background: linear-gradient(135deg, var(--navy) 0%, #0f2744 100%);
    padding: 50px 40px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card .project-info .tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 10px;
    font-weight: 700;
}

.project-card .project-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.project-card .project-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.project-card .project-info .tech-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.project-card .project-info .tech-tags span {
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-card .project-info .project-link {
    display: inline-block;
    padding: 12px 28px;
    background: var(--orange);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    width: fit-content;
}

.project-card .project-info .project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245,166,35,0.3);
}

.project-card .project-stats {
    padding: 40px;
    text-align: center;
}

.project-card .project-stats .icon-box {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: 24px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.project-card .project-stats .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: center;
}

.project-card .project-stats .stats-grid .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    display: block;
}

.project-card .project-stats .stats-grid .stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== COMING SOON CARDS ===== */
.coming-soon-card {
    background: var(--light);
    border: 2px dashed #cbd5e1;
    text-align: center;
}

/* ===== RESPONSIVE PROJECTS ===== */
@media (max-width: 968px) {
    .project-card {
        grid-template-columns: 1fr;
    }

    .project-card .project-info {
        padding: 35px 25px;
    }

    .project-card .project-info h3 {
        font-size: 1.8rem;
    }

    .project-card .project-stats {
        padding: 30px 25px;
    }

    .project-card .project-stats .icon-box {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .project-card .project-info {
        padding: 25px 20px;
    }

    .project-card .project-info h3 {
        font-size: 1.5rem;
    }

    .project-card .project-stats .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .project-card .project-stats .stats-grid .stat-value {
        font-size: 1.2rem;
    }
}