/* =====================================================
   VTECHX INTELLIWORKS - PROFESSIONAL WEBSITE UI
===================================================== */

/* =========================
   GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* =========================
   RESET
========================= */
.announcement-bar {
    background: #0b4f9c;
    color: #ffffff;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.gallery img {
    width: 300px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.announcement-bar a {
    color: #ffd700;
    text-decoration: none;
    margin-left: 10px;
}

.announcement-bar a:hover {
    text-decoration: underline;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   ROOT COLORS
========================= */

:root{

    --primary: #12308d;
    --secondary: #2563eb;
    --dark: #0f172a;
    --light-text: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --border: #e2e8f0;

}

/* =========================
   BODY
========================= */

html{
    scroll-behavior: smooth;
}

body{
font-family: 'Inter', sans-serif;
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
color: #222;
}

/* =========================
   CONTAINER
========================= */
.container img {
    width: 60%;
    height: 60%;
    object-fit: cover;
}
.container{
    width: 90%;
    gap: 10px; /* space between images */
    max-width: 1250px;
    margin: auto;
}
/* =====================================================
   HEADER
===================================================== */

header{
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);

}

/* =========================
   NAVBAR
========================= */

.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

/* =========================
   LOGO
========================= */

.logo-section{
    display: flex;
    align-items: center;
}

.logo-section img{
    width: 320px;
    max-width: 100%;
    object-fit: contain;
}

/* =========================
   NAVIGATION
========================= */

nav ul{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 34px;
}

nav ul li a{
    text-decoration: none;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: 0.3s ease;
}

/* Hover underline */

nav ul li a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: 0.3s;
}

nav ul li a:hover{
    color: var(--secondary);
}

nav ul li a:hover::after{
    width: 100%;
}

/* =====================================================
   HERO SECTION
===================================================== */

.hero{
    position: relative;
    padding: 140px 20px 120px;
    text-align: center;;
    background:
        linear-gradient(rgba(255,255,255,0.92),
        rgba(255,255,255,0.94)),
        url('hero-bg.jpg');

    background-size: cover;
    background-position: center;
}

/* Decorative blur circle */

.hero::before{
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(37,99,235,0.08);
    border-radius: 50%;
    top: -80px;
    right: -100px;
    filter: blur(40px);
}

.hero h1{
    font-size: 45px;
    line-height: 1.1;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.hero p{
    max-width: 920px;
    margin: auto;
    font-size: 18px;
    color: var(--light-text);
    line-height: 1.9;
}

/* =========================
   HERO BUTTONS
========================= */

.hero-links{
    margin-top: 45px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-links a{
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
}

/* Primary button */

.hero-links a:first-child{
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(18,48,141,0.25);
}

.hero-links a:first-child:hover{
    transform: translateY(-3px);
    background: #0d2673;
}

/* Secondary button */

.hero-links a:last-child{
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: var(--white);
}

.hero-links a:last-child:hover{
    background: var(--secondary);
    color: var(--white);
}

/* =====================================================
   COMMON SECTION
===================================================== */

.section{
    padding: 110px 0;
}

.center-text{
    text-align:justify;
}

.section h2{
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.section p{
    font-size: 18px;
    color: var(--light-text);
    line-height: 1.9;
}

/* Light Background */

.light-bg{
    background: var(--bg-light);
}

/* =====================================================
   FEATURES
===================================================== */

.features{
    margin-top: 60px;

    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 35px;
}

.feature-box{
    background: var(--white);
    padding: 40px 35px;
    border-radius: 18px;
    border: 1px solid #edf2f7;

    transition: 0.35s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.04);
}

.feature-box:hover{
    transform: translateY(-10px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.10);
}

.feature-box h3{
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--primary);
    font-weight: 700;
}

.feature-box p{
    font-size: 16px;
}

/* =====================================================
   MISSION LIST
===================================================== */

.mission-list{
    margin-top: 30px;
    padding-left: 25px;
}

.mission-list li{
    margin-bottom: 22px;
    font-size: 18px;
    color: var(--light-text);
}
/* =====================================================
   Contact
===================================================== */

.contact-container{
width:90%;
max-width:1000px;
background:#fff;
border-radius:12px;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
overflow:hidden;
display:flex;
flex-wrap:wrap;
}

.contact-info{
flex:1;
min-width:300px;
background:#0d6efd;
color:white;
padding:40px;
}

.contact-info h2{
margin-bottom:20px;
font-size:32px;
}

.contact-info p{
margin-bottom:15px;
line-height:1.6;
}

.contact-form{
flex:1;
min-width:300px;
padding:40px;
}

.contact-form h2{
margin-bottom:25px;
color:#333;
}

.form-group{
margin-bottom:20px;
}

.form-group input,
.form-group textarea{
width:100%;
padding:12px;
border:1px solid #ccc;
border-radius:6px;
font-size:16px;
outline:none;
}

.form-group textarea{
resize:none;
height:120px;
}

.form-group input:focus,
.form-group textarea:focus{
border-color:#0d6efd;
}

.btn{
background:#0d6efd;
color:white;
border:none;
padding:12px 25px;
border-radius:6px;
font-size:16px;
cursor:pointer;
transition:0.3s;
}

.btn:hover{
background:#084298;
}

@media(max-width:768px){
.contact-container{
flex-direction:column;
}
}
/* =====================================================
   FOOTER
===================================================== */

footer{
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 90px;
}

/* =========================
   FOOTER GRID
========================= */

.footer-container{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
}

/* =========================
   FOOTER LOGO
========================= */

.footer-box img{

    width: 280px;

    /* Same color as footer */
    background: #0f172a;

    padding: 10px;

    border-radius: 12px;

    margin-bottom: 25px;

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 6px 20px rgba(0,0,0,0.25);

    transition: 0.3s ease;
}

/* =========================
   FOOTER HEADINGS
========================= */

.footer-box h3{
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 24px;
}

/* =========================
   FOOTER TEXT
========================= */

.footer-box p{
    color: #cbd5e1;
    margin-bottom: 14px;
    line-height: 1.9;
}

/* =========================
   FOOTER LINKS
========================= */

.footer-box ul{
    list-style: none;
}

.footer-box ul li{
    margin-bottom: 16px;
}

.footer-box ul li a{
    text-decoration: none;
    color: #cbd5e1;
    transition: 0.3s;
}

.footer-box ul li a:hover{
    color: #60a5fa;
    padding-left: 5px;
}

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom{
    text-align: center;
    margin-top: 70px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 15px;
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media(max-width: 1100px){

    .hero h1{
        font-size: 45px;
    }

    nav ul{
        gap: 22px;
    }
}

@media(max-width: 900px){

    .nav-container{
        flex-direction: column;
        gap: 20px;
    }

    nav ul{
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero{
        padding: 110px 20px 90px;
    }

    .hero h1{
        font-size: 30px;
    }

    .hero p{
        font-size: 25px;
    }

    .section h2{
        font-size: 20px;
    }

    .footer-container{
        grid-template-columns: 1fr;
    }
}

@media(max-width: 600px){

    .logo-section img{
        width: 350px;
    }

    .hero h1{
        font-size: 25px;
        letter-spacing: -1px;
    }

    .hero p{
        font-size: 14px;
    }

    .hero-links{
        flex-direction: column;
    }

    .hero-links a{
        width: 100%;
    }

    .section{
        padding: 80px 0;
    }

    .section h2{
        font-size: 20px;
    }

    nav ul{
        gap: 16px;
    }

    nav ul li a{
        font-size: 14px;
    }
}
