:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --accent: #00a2e8; /* Light blue from logo */
    --accent-dark: #1d3d8f; /* Dark blue from logo */
    --accent-glow: rgba(0, 162, 232, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Navbar */
nav {
    position: fixed;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo-img {
    max-height: 55px;
    width: auto;
    display: block;
    margin: -10px 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-dark);
    color: #ffffff !important;
}

.btn-primary:hover {
    background: var(--accent);
    color: #ffffff !important;
    box-shadow: 0 8px 25px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--accent-dark);
    color: var(--accent-dark);
}

.btn-secondary:hover {
    background: var(--accent-dark);
    color: #ffffff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, #f2f8fc 0%, #ffffff 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #111;
}

.highlight {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-graphic {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    pointer-events: none;
}

.orb {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 162, 232, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 10s infinite ease-in-out;
}

.orb2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(29, 61, 143, 0.1) 0%, rgba(255,255,255,0) 70%);
    top: 30%;
    left: -20%;
    animation: float 12s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* General Sections */
section {
    padding: 6rem 5%;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #111;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.stats {
    display: flex;
    gap: 3rem;
}

.stat-item h4 {
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    color: var(--text-color);
}

.glass-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 3.5rem;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 162, 232, 0.1);
}

.glass-card i {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Services */
.services {
    background-color: #f2f8fc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.service-card:hover {
    border-color: rgba(0, 162, 232, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 162, 232, 0.08);
}

.service-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    height: 280px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: #f8f9fa;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 162, 232, 0.15);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem 2rem 2rem;
    background: linear-gradient(to top, rgba(255,255,255,1) 40%, rgba(255,255,255,0.7) 70%, rgba(255,255,255,0));
    color: var(--text-color);
    transition: all 0.3s ease;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-dark);
}

.portfolio-overlay p {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.7;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Marquee Slider */
.marquee {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee-content img {
    height: 38px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    margin: 0 2.5rem;
    vertical-align: middle;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.marquee-content img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Contact */
.contact {
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f2f8fc 100%);
}

.contact-container {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 162, 232, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-container h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #111;
}

.contact-container p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.contact-info {
    text-align: left;
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 162, 232, 0.1);
}

input::placeholder, textarea::placeholder {
    color: #999;
}

button[type="submit"] {
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.socials a {
    color: var(--accent-dark);
    font-size: 1.2rem;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

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

.flip-up {
    opacity: 0;
    transform: perspective(1000px) rotateX(-90deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flip-up.active {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .contact-info {
        padding: 1.5rem;
    }

    .section-title {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .portfolio-item {
        height: 280px;
    }

    h2 {
        font-size: 1.8rem;
    }
    
    .stat-item h4 {
        font-size: 1.5rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 2rem 0;
        clip-path: circle(0% at 50% -20%);
        transition: all 0.5s ease-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        clip-path: circle(150% at 50% 0);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-graphic {
        opacity: 0.3;
    }
    
    .contact-container {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
