@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --accent: #00D9B4;
    --dark: #0A1628;
    --dark-blue: #1A2B47;
    --mid: #2C3E5A;
    --light: #F8FAFB;
    --white: #FFFFFF;
    --text: #1E293B;
    --text-muted: #64748B;
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.04);
    --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 4px solid var(--accent);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    display: flex;
    align-items: center;
    background-color: gray;
    padding: 5ppx 10px;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
}

.nav-item {
    position: relative;
}



.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #00a287;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

/* Mobile Toggle Button */
.nav-toggle {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Active State - Transform to X */
.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    .nav-cta {
        display: block;
        text-align: center;
        margin-top: 1rem;
    }

    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

/* ===== HEADER & HERO ===== */
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(./Assets/Landing\ Image~1.webp);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    margin-top: 82px; /* Account for fixed navbar */
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Section */
.hero {
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    background: var(--accent);
    color: var(--dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 217, 180, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 217, 180, 0.4);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-family: 'Syne', sans-serif;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.gray {
    background: linear-gradient(180deg, #eeefef 0%, #FFFFFF 100%);
}

/* About Section */
#about p {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-box span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.value-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: var(--transition);
}

.value-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-box:hover::before {
    top: -25%;
    right: -25%;
}

/* Services */

#services{
    width: 100%;
    height: auto;
    background: radial-gradient( #8f8f8fe2, #a09f9fd2), url(./Assets/Landingmage.jpg);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
    font-family: 'Syne', sans-serif;
    color: var(--dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.project {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: var(--transition);
}

.project h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.project:hover .project-icon {
    transform: scale(1.2) translateY(-5px);
}

.project::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 217, 180, 0.2));
    transition: height 0.4s ease;
}

.project:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.project:hover::after {
    height: 100%;
}

/* Contact */
form {
    max-width: 600px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

input, textarea {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 102, 255, 0.1);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.contact-info strong {
    color: var(--dark);
    font-weight: 600;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer p {
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links a:hover::after {
    width: 100%;
}


#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
    transition: var(--transition);
    z-index: 1000;

    &:hover {
        background: #00a287;
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4);
    }

animation-name: tranlateUp;
    animation-duration: 5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

@keyframes  tranlateUp {

     0% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(0); }

}

.fa-arrow-down {
    font-size: 1rem;
    color: var(--white);
    animation: bounce 2s infinite;
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 4.5vw, 3rem);
    }
}

@media (max-width: 768px) {
    .header {
        margin-top: 70px;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding: 6rem 0 5rem;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .section-title {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 92%;
    }

    .nav-container {
        padding: 1rem;
    }

    .nav-logo img {
        height: 40px;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .values {
        grid-template-columns: 1fr;
    }
}

/* ================================
   PRIVACY POLICY PAGE
================================ */

.privacy-policy {
    max-width: 900px;
    margin: 120px auto 4rem; /* clears fixed navbar */
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.privacy-policy h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.privacy-policy .meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.privacy-policy h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.privacy-policy h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--mid);
    font-weight: 600;
}

.privacy-policy p {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.privacy-policy ul {
    padding-left: 1.2rem;
    margin-bottom: 1.2rem;
}

.privacy-policy li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.privacy-policy .note {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin: 1.5rem 0;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .privacy-policy {
        margin: 100px 1rem 3rem;
        padding: 2rem 1.5rem;
    }
}
