:root {
    --primary: #0f172a; /* Dark text for headings */
    --secondary: #1d4ed8; /* Strong primary blue */
    --accent: #3b82f6; /* Lighter blue accent */
    --text: #475569; /* Gray text for body */
    --bg: #ffffff;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    color: var(--primary);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.top-bar-info {
    display: flex;
    gap: 1.5rem;
}

.top-bar-social a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

/* Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.menu-toggle {
    display: none;
}

.logo span {
    color: var(--secondary);
}

.logo-text, .footer-logo-text {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.logo {
    position: relative;
    z-index: 1001;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-primary {
    background-color: var(--secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
}

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

/* Hero Section */
#hero {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-img-box {
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    background-color: var(--light-bg);
}

.hero-img-box:first-child {
    grid-row: span 2;
    height: 620px;
}

/* Banner */
.banner {
    background-color: var(--secondary);
    color: white;
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.banner-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 20s linear infinite;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.banner span {
    margin: 0 2rem;
}

@keyframes scroll {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Section Label (reusable dots + text) */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.section-label.light {
    color: rgba(255,255,255,0.7);
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
}

.dot.light {
    background: var(--accent);
}

/* About Section */
#about {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.about-img-main {
    border-radius: 20px;
    height: 450px;
    background-color: var(--light-bg);
}

.about-img-secondary {
    border-radius: 20px;
    height: 450px;
    background-color: var(--light-bg);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 2rem;
    color: var(--text);
}

/* Skill Bars */
.skill-bars {
    margin-bottom: 2rem;
}

.skill {
    margin-bottom: 1.25rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.skill-track {
    width: 100%;
    height: 8px;
    background-color: var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Stats Section */
#stats {
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-item p {
    color: var(--text);
    font-size: 0.95rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: var(--border);
}

/* Services Section (Dark) */
#services {
    background-color: var(--primary);
    padding: 5rem 5%;
    margin-top: 5rem;
}

.services-inner {
    max-width: 1400px;
    margin: 0 auto;
}

#services .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

#services .section-header h2 {
    font-size: 2.5rem;
    max-width: 500px;
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255, 0.3);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: rgba(255,255,255,0.08);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card.accent-card {
    background: var(--accent);
}

.service-card.accent-card h3,
.service-card.accent-card p {
    color: white;
}

.service-card-image {
    height: 180px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    background-color: rgba(255,255,255,0.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

.learn-more {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.learn-more:hover {
    gap: 0.75rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5% 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-decoration: none;
    display: block;
}

.footer-logo span {
    color: var(--accent);
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.footer-links h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-links ul li i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.footer-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    /* Navigation Mobile Fix */
    nav {
        position: relative;
        padding: 1rem 5%;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--primary);
        order: 2;
        z-index: 1001;
        transition: all 0.3s;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(-10px);
        border-top: 1px solid var(--border);
    }

    nav ul.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 1rem 5%;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary);
        font-family: 'Plus Jakarta Sans', sans-serif;
        text-align: left;
    }

    nav ul li a:hover {
        background-color: var(--light-bg);
        color: var(--secondary);
    }

    nav .btn-primary {
        display: none;
    }

    #hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 5rem;
    }

    .hero-image {
        grid-template-columns: 1fr;
    }

    .hero-img-box:first-child {
        grid-row: auto;
        height: 350px;
    }

    .hero-img-box {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }
    .about-images {
        grid-template-columns: 1fr;
    }
    .about-img-main,
    .about-img-secondary {
        height: 300px;
    }
    .stats-grid {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }
    .stat-item {
        width: 45%;
    }
    .stat-divider {
        display: none;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    #services .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
    .stat-item {
        width: 100%;
    }
}
