:root {
   
    --navy: #0a192f;   
    --electric-blue: #00d4ff;  
    --white: #ffffff;         
    --pale-gray: #f4f7f9;     
    --light-gray: #eceff1;     
    --text-gray: #4a5568;     
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

   
    --fs-h1: clamp(2.2rem, 7vw, 3.5rem);
    --fs-h2: clamp(1.8rem, 5vw, 2.5rem);
    --fs-body: clamp(1rem, 1.2vw, 1.1rem);
    --section-padding: clamp(80px, 12vh, 120px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--white);
    font-size: var(--fs-body);
}

img {
    max-width:100%;
    height:auto;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.07);
}

.intro-buttons-wrap {
    display: flex; 
    flex-wrap: wrap;
    gap: 1rem; 
    @media only screen and (max-width:580px){
        justify-content: center;
        text-align: center;
    }
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy);
    text-decoration: none;
    z-index: 2100;
    img {
        width:70px;
        @media only screen and (max-width:980px){
            width:50px;
        }
    }
}

.logo span { color: var(--electric-blue); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    z-index:900;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a.active { color: var(--electric-blue); }


.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2600;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--navy);
    transition: var(--transition);
}


section {
    padding: var(--section-padding) 8%;
    overflow: hidden;
    scroll-margin-top: 100px;
}

h1 { font-size: var(--fs-h1); color: var(--navy); line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: var(--fs-h2); color: var(--navy); margin-bottom: 1.5rem; }
h3 { color: var(--navy); margin-bottom: 1rem; }


.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--electric-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    @media only screen and (max-width:680px){
        padding:10px 20px;
    }
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,212,255,0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--electric-blue);
    color: var(--navy);
}

.box-img {
    background: var(--navy); 
    aspect-ratio: 16/9; 
    border-radius: 8px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    color: white; 
    font-size: 3rem;
    img {
        width:100%;
        
    }
}


#home { min-height: 100vh; display: flex; align-items: center; background: var(--white); }
#about { background: var(--white); }
#services { background: var(--light-gray); } 
#why { background: var(--white); }
#contact { background: var(--pale-gray); text-align: center; } 

.section-intro {
     text-align: center; border-top: 1px solid #eee;
}

.about-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4rem; align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); }


footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 8%;
    text-align: center;
}

@media (max-width: 992px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: 0 10px 8px rgba(0,0,0,0.07);
        transition: var(--transition);
        z-index:2500;
    }
    .nav-links.open { right: 0; }
}

.hamburger.toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0; 
}

.hamburger.toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -7px);
}

@media (max-width: 768px) {
    #home {
        
        padding-top: 120px; 
        align-items: flex-start; 
        min-height: auto; 
        padding-bottom: 60px;
    }

    h1 {
        margin-top: 20px;
        line-height: 1.2;
    }
}