﻿/* ==========================================================
   GOTECHCARE ENTERPRISE WEBSITE
   PRODUCTION READY STYLE.CSS
========================================================== */

:root{
    --primary:#0ea5e9;
    --secondary:#38bdf8;
    --dark:#0f172a;
    --white:#ffffff;
    --glass:rgba(255,255,255,.15);
    --border:rgba(255,255,255,.25);
    --text:#e2e8f0;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
    color:#fff;
    line-height:1.7;

    background:
    linear-gradient(
        to bottom,
        #4facfe 0%,
        #6bb8ff 30%,
        #9fd8ff 70%,
        #d8f0ff 100%
    );
}

/* ==========================================
   ANNOUNCEMENT BAR (FIXED SMOOTH MARQUEE)
========================================== */

.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 8px 0;
    background: linear-gradient(90deg, #d50000, #ff3d00, #d50000);
    background-size: 300% 100%;
    animation: offerGlow 6s linear infinite;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255,0,0,.3);
    white-space: nowrap;
}

    /* TEXT */
    .announcement-bar span {
        display: inline-block;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        /* IMPORTANT FIX */
        padding-left: 100%;
        will-change: transform;
        animation: marqueeText 12s linear infinite;
    }

/* BACKGROUND ANIMATION (ONLY ONE) */
@keyframes offerGlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* SMOOTH MARQUEE (FIXED) */
@keyframes marqueeText {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}
/* ==========================================================
   MOVING CLOUDS
========================================================== */

.sky-clouds{

    position:fixed;

    inset:0;

    width:300%;

    z-index:-1;

    opacity:.40;

    background:
    radial-gradient(circle at 10% 20%, #fff 0 40px, transparent 45px),
    radial-gradient(circle at 15% 20%, #fff 0 35px, transparent 40px),
    radial-gradient(circle at 20% 20%, #fff 0 40px, transparent 45px),

    radial-gradient(circle at 45% 25%, #fff 0 55px, transparent 60px),
    radial-gradient(circle at 52% 25%, #fff 0 45px, transparent 50px),
    radial-gradient(circle at 58% 25%, #fff 0 55px, transparent 60px),

    radial-gradient(circle at 80% 15%, #fff 0 50px, transparent 55px),
    radial-gradient(circle at 86% 15%, #fff 0 45px, transparent 50px);

    animation:cloudMove 120s linear infinite;
}

.cloud2{
    opacity:.25;
    animation:cloudMove 180s linear infinite reverse;
}

@keyframes cloudMove{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* ==========================================================
   HEADER
========================================================== */

header{

    position:fixed;

    top:40px;
    left:0;

    width:100%;

    z-index:9999;

    background:rgba(0,0,0,.15);

    backdrop-filter:blur(18px);

    transition:.3s;
}

header.sticky{

    background:rgba(0,0,0,.65);

    box-shadow:
    0 10px 25px rgba(0,0,0,.2);
}

.header-container{

    max-width:1400px;

    margin:auto;

    padding:18px 40px;

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.logo img{
    height:100px;
}
/* ==========================================
   NAVIGATION MENU
========================================== */

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px; /* Increased from default */

    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    transition: all .3s ease;
}

    /* Hover Effect */

    nav a:hover {
        color: #38bdf8;
        transform: scale(1.12);
        text-shadow: 0 0 10px rgba(56,189,248,.6);
    }

    /* Animated Underline */

    nav a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 3px;
        background: #38bdf8;
        border-radius: 10px;
        transition: .3s;
    }

    nav a:hover::after {
        width: 100%;
    }

    /* Active Page */

    nav a.active {
        color: #38bdf8;
    }

        nav a.active::after {
            width: 100%;
        }

/* ==========================================================
   HERO SECTION
========================================================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:180px 20px 120px;

    background:
    linear-gradient(
        rgba(0,0,0,.35),
        rgba(0,0,0,.45)
    ),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

.hero-content{

    width:100%;

    max-width:1000px;

    margin:auto;

    background:
    rgba(255,255,255,.12);

    backdrop-filter:blur(20px);

    border:
    1px solid rgba(255,255,255,.25);

    border-radius:30px;

    padding:60px;
}

.hero-tag{

    display:inline-block;

    padding:12px 25px;

    border-radius:50px;

    background:rgba(255,255,255,.15);

    margin-bottom:25px;
}

.hero h1{

    font-size:5rem;

    font-weight:800;

    margin-bottom:25px;
}

.hero p{

    font-size:1.3rem;

    margin-bottom:35px;
}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

/* ==========================================================
   BUTTONS
========================================================== */

.btn{

    display:inline-block;

    text-decoration:none;

    color:#fff;

    padding:16px 35px;

    border-radius:50px;

    font-weight:600;

    background:
    linear-gradient(
        135deg,
        #0ea5e9,
        #38bdf8
    );

    transition:.3s;
}

.btn:hover{

    transform:translateY(-4px);

    box-shadow:
    0 10px 25px rgba(14,165,233,.35);
}

.btn-dark{
    background:#0f172a;
}

/* ==========================================================
   STATS
========================================================== */

.stats{

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    padding:80px 40px;
}

.stat-box{

    background:var(--glass);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    border-radius:25px;

    padding:35px;

    text-align:center;
}

.stat-box h2{

    font-size:3rem;

    color:#0f172a;
}

.stat-box p{
    color:#0f172a;
}

/* ==========================================================
   SECTION
========================================================== */

.section{

    max-width:1400px;

    margin:auto;

    padding:100px 40px;
}

.section-title{

    text-align:center;

    margin-bottom:60px;
}

.section-title h2{

    font-size:3rem;

    color:#0f172a;

    margin-bottom:15px;
}

.section-title p{
    color:#1e293b;
}

/* ==========================================================
   GRID
========================================================== */

.grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(330px,1fr));

    gap:30px;
}

/* ==========================================================
   GLASS CARD
========================================================== */

.glass-card{

    background:
    rgba(255,255,255,.20);

    backdrop-filter:blur(18px);

    border:
    1px solid rgba(255,255,255,.30);

    border-radius:25px;

    overflow:hidden;

    transition:.4s;
}

.glass-card:hover{

    transform:
    translateY(-10px);

    box-shadow:
    0 15px 40px rgba(0,0,0,.15);
}

.glass-card img{

    width:100%;

    height:220px;

    object-fit:cover;
}

.glass-card h3{

    padding:20px 25px 10px;

    color:#0f172a;
}

.glass-card p{

    padding:0 25px 25px;

    color:#334155;
}

/* ==========================================================
   ABOUT
========================================================== */

.about-section{

    text-align:center;
}

.about-content{

    max-width:900px;

    margin:auto;

    background:var(--glass);

    border:1px solid var(--border);

    backdrop-filter:blur(20px);

    border-radius:30px;

    padding:50px;
}

.about-content h2{

    color:#0f172a;

    margin-bottom:20px;
}

.about-content p{

    color:#334155;
}

/* ==========================================================
   CTA
========================================================== */

.cta-section{

    padding:80px 20px;
}

.cta-box{

    max-width:900px;

    margin:auto;

    text-align:center;

    background:var(--glass);

    border:1px solid var(--border);

    backdrop-filter:blur(20px);

    border-radius:30px;

    padding:60px;
}

.cta-box h2{

    font-size:2.5rem;

    color:#0f172a;

    margin-bottom:20px;
}

.cta-box p{

    color:#334155;

    margin-bottom:30px;
}

/* ==========================================================
   FOOTER
========================================================== */

footer{

    margin-top:50px;

    padding:50px 20px;

    text-align:center;

    background:rgba(15,23,42,.9);
}

footer p{

    color:#cbd5e1;

    margin:8px 0;
}

/* ==========================================================
   WHATSAPP
========================================================== */

.whatsapp{

    position:fixed;

    right:20px;
    bottom:20px;

    width:65px;
    height:65px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    font-size:30px;

    text-decoration:none;

    z-index:9999;
}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:992px){

.hero h1{
    font-size:3.5rem;
}

.section-title h2{
    font-size:2.4rem;
}

}

@media(max-width:768px){

.header-container{
    padding:15px 20px;
}

nav{
    display:none;
}

.hero-content{
    padding:35px 25px;
}

.hero h1{
    font-size:2.4rem;
}

.hero p{
    font-size:1rem;
}

.section{
    padding:70px 20px;
}

.stats{
    padding:60px 20px;
}

.grid{
    grid-template-columns:1fr;
}

}
/* ==========================================================
   MODERN SERVICES SECTION (NEW)
========================================================== */

.modern-services {
    max-width: 1400px;
    margin: auto;
    padding: 100px 40px;
}

.modern-services-title {
    text-align: center;
    margin-bottom: 50px;
}

    .modern-services-title h2 {
        font-size: 3rem;
        color: #0f172a;
        margin-bottom: 10px;
    }

    .modern-services-title p {
        color: #334155;
    }

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    transition: .3s;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,.15);
    }

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #0ea5e9;
}

.service-card h3 {
    margin-bottom: 10px;
    color: #0f172a;
}

.service-card p {
    color: #334155;
    font-size: 14px;
}
/* ==========================================================
   COMPACT UI MODE (REMOVE EXTRA SPACE)
========================================================== */

/* Reduce section gaps */
.section,
.stats,
.modern-services,
.cta-section,
.about-section {
    padding: 60px 40px !important;
}

/* Reduce headings spacing */
h1, h2, h3, p {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Stats section FIX */
.stats {
    gap: 15px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.stat-box {
    padding: 20px;
}

/* Cards tighter */
.glass-card {
    margin: 0;
}

    .glass-card p {
        margin-bottom: 10px;
    }

/* Modern services tighter */
.service-card {
    padding: 20px;
}

/* Grid spacing reduce */
.grid {
    gap: 18px;
}

/* Hero reduce extra space */
.hero {
    padding: 140px 20px 80px;
}

.hero-content {
    padding: 40px;
}

/* CTA reduce height */
.cta-box {
    padding: 40px;
}

/* About section compact */
.about-content {
    padding: 35px;
}

 
/* ==========================================================
   RESPONSIVE + DYNAMIC NAVIGATION SYSTEM
========================================================== */

/* Sticky header shrink effect */
header.scrolled {
    height: 65px;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(20px);
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* NAV base */
nav {
    transition: 0.3s ease;
}

/* MOBILE */
@media(max-width:768px){

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15,23,42,.95);
        backdrop-filter: blur(20px);
        transition: 0.3s ease;
        padding-top: 40px;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }
}
