/* =========================================
   Global Styles - Vibrant & Action-Oriented
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* Bold and energetic font */
}

body {
    background-color: #f0f4f8; /* Fresh light background */
    color: #2b2b2b;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   3D Animated Round Logo (BADA SIZE - PREMIUM)
   ========================================= */

/* 1. Logo Container - Size ko bada kar diya gaya hai */
.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 85px;  /* Pehle 60px tha, ab 85px (Kafi bada) */
    height: 85px; /* Pehle 60px tha, ab 85px */
    margin-right: 25px; /* Menu se thodi doori badha di */
}

/* 2. Main Logo Image - Image kate nahi aur clear dikhe */
.main-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Image ko katne se rokega */
    border-radius: 50%;
    background-color: #ffffff; /* Transparent logo ko saaf dikhane ke liye safed background */
    padding: 6px; /* Logo aur ring ke beech saaf jagah */
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Halka sa 3D shadow */
}

/* 3. The 3D Animation Ring - Badi aur Moti Ring */
.logo a::before {
    content: '';
    position: absolute;
    top: -5px; /* Ring ko logo se bahar ki taraf set kiya */
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    z-index: 2;
    
    /* Ring ka Mota 3D Border */
    border: 4px solid transparent; /* Pehle 3px tha, ab 4px (Mota) */
    border-top-color: #ff5722;     /* Action Orange */
    border-left-color: #001f3f;    /* Navy Blue */
    border-bottom-color: rgba(255, 87, 34, 0.3); /* Halka Orange 3D effect ke liye */
    
    /* Animation ki speed thodi fast ki hai (1.5s) */
    animation: spin-ring 1.5s linear infinite; 
}

/* 4. Spinning Animation */
@keyframes spin-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header ki height badhayi taaki bada logo bahar na nikle */
.nav-container {
    min-height: 95px; /* Pehle 70px tha, ab 95px kar diya */
}
/* =========================================
   Ghumta Hua 3D Neon Border (Rotating Edge)
   ========================================= */
.logo {
    display: flex;
    align-items: center;
}

/* 1. Main Container - Isme hum animation set karenge */
.logo a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px; /* Bada logo dikhane ke liye unchai */
    padding: 5px 20px; /* Logo ke aaspas thodi khali jagah */
    border-radius: 12px; /* Dabbe ke kinare thode gol */
    background: #ffffff;
    overflow: hidden; /* Light ko dabbe ke andar rakhne ke liye */
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Halka shadow */
    margin-right: 25px;
}

/* 2. Ghumne Wali Light (Conic Gradient) */
.logo a::before {
    content: '';
    position: absolute;
    width: 250%; /* Light ko lamba banaya taaki poore dabbe par ghoome */
    height: 250%;
    /* Ye code Orange aur Navy Blue light ka ek beam banata hai */
    background: conic-gradient(transparent, transparent, transparent, #ff5722, #001f3f);
    animation: spin-border 5.5s linear infinite; /* 2.5 second mein ek chakkar */
}

/* 3. Andar Ka Safed Dabba - Taaki light sirf kinaron (border) par dikhe */
.logo a::after {
    content: '';
    position: absolute;
    inset: 3px; /* Border ki motai yahan se set hogi (3px) */
    background: #ffffff; /* Andar se poora safed */
    border-radius: 10px; /* Andar ke kinare bhi gol */
}

/* 4. Asli Logo Image - Jo sabse upar aur saaf dikhegi */
.main-logo {
    position: relative;
    z-index: 10; /* Image ko light aur background ke upar rakhne ke liye zaroori hai */
    height: 55px; /* Image ka perfect size */
    width: auto;
    object-fit: contain;
}

/* 5. Gol Ghumne Ka Animation */
@keyframes spin-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header ki height ko adjust karna */
.nav-container {
    min-height: 95px;
}
/* =========================================
   Glowing Button Effect (Hero Section)
   ========================================= */
.btn-primary {
    background-color: #ffaa00; /* Bright Orange/Yellow */
    color: #001f3f; /* Navy Blue Text */
    padding: 15px 40px;
    border-radius: 50px; /* Button ko gol (pill shape) banane ke liye */
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 20px;
    transition: all 0.3s ease;
    
    /* Yahan se Glow Effect shuru hota hai */
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.7); /* Button ke bahar roshni */
    border: 2px solid transparent;
    
    /* Button par Pulse (Dhadkane wala) Animation lagana */
    animation: pulse-glow 2s infinite; 
}

/* Hover Effect: Jab mouse button par jaye */
.btn-primary:hover {
    transform: scale(1.05) translateY(-3px); /* Thoda bada aur upar uthega */
    background-color: #ffb833; /* Color thoda bright hoga */
    box-shadow: 0 0 30px rgba(255, 170, 0, 1), 0 0 50px rgba(255, 170, 0, 0.6); /* Roshni aur tez ho jayegi */
}

/* Pulse Glow Animation ka Logic */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 15px rgba(255, 170, 0, 0.6);
    }
    50% {
        /* Beech mein roshni sabse zyada hogi */
        box-shadow: 0 0 25px rgba(255, 170, 0, 0.9), 0 0 45px rgba(255, 170, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 15px rgba(255, 170, 0, 0.6);
    }
}
/* =========================================
   Homepage: Hero Section (Animated Background & Halchal)
   ========================================= */
.hero-section {
    /* 1. Animated Gradient Background */
    background: linear-gradient(-45deg, #001f3f, #004080, #00152e, #00509e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite; /* Color smoothly change hoga */
    
    color: #ffffff;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Orbs ko section ke bahar jane se rokega */
}

/* Background Color Change Hone Ka Animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Floating Tech Lights (Background mein tairti hui roshni) */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Roshni ko dhundhla (glow) karega */
    z-index: 1; /* Text ke peeche rakhega */
    animation: floatOrbs 10s infinite alternate ease-in-out; /* Tairne ka animation */
}

/* Pehli Roshni (Halka Orange) */
.hero-section::before {
    width: 400px;
    height: 400px;
    background: rgba(255, 87, 34, 0.2); 
    top: -100px;
    left: -100px;
}

/* Doosri Roshni (Halka Blue) */
.hero-section::after {
    width: 500px;
    height: 500px;
    background: rgba(0, 150, 255, 0.2);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s; /* Alag time par ghumega */
    animation-duration: 12s;
}

/* Roshni Ke Tairne (Halchal) Ka Logic */
@keyframes floatOrbs {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 80px) scale(1.2); }
}

/* 3. Hero Content (Text ko background halchal ke upar rakhna) */
.hero-content {
    position: relative;
    z-index: 2; /* Content ko roshni ke upar clear dikhane ke liye */
}

.hero-content h2 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content h2 span {
    color: #ffaa00; 
}

.hero-content p {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}
/* =========================================
   Main Header & Navigation (Fixed Alignment)
   ========================================= */
.main-header {
    background-color: #ffffff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Container ko break hone se rokega */
}

.logo a {
    text-decoration: none;
    color: #001f3f;
    display: flex;
    align-items: center;
    gap: 8px; /* Icon aur text ko ek line me layega */
}

.logo h1 {
    font-size: 24px; 
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Logo ko break hone se rokega */
}

.logo h1 span {
    color: #ff5722;
}

/* Menu Links Fix */
.navbar {
    flex-grow: 1; /* Menu ko centre me adjust karne me madad karega */
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px; /* Menu items ke beech ki jagah */
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Icon aur Text ke beech space */
    text-decoration: none;
    color: #001f3f;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 12px;
    white-space: nowrap; /* Sabse zaroori: Text ko 2 line me tootne se rokega */
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ff5722;
    background-color: #fff0eb;
    border-radius: 5px;
}

/* Auth Buttons Fix */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px; /* Login aur Register button ke beech jagah */
}

.auth-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap; /* Buttons overlap hone se rokega */
    transition: all 0.3s ease;
}

.btn-login {
    color: #001f3f;
    border: 2px solid #001f3f;
    background: transparent;
}

.btn-login:hover {
    background: #001f3f;
    color: #ffffff;
}

.btn-register {
    background-color: #ff5722;
    color: #ffffff;
    border: 2px solid #ff5722;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
}

.btn-register:hover {
    background-color: #e64a19;
    border-color: #e64a19;
    transform: translateY(-2px);
}
/* =========================================
   Top Contact Bar (High Contrast)
   ========================================= */
.top-bar {
    background-color: #001f3f; /* Deep Navy */
    color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 25px;
    color: #ffaa00; /* Bright yellow/orange accent */
}

.social-links a {
    color: #ffffff;
    margin-left: 20px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffaa00;
}

/* =========================================
   Main Header & Navigation (Bold & Clear)
   ========================================= */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #001f3f;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo h1 span {
    color: #ff5722; /* Action Orange */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 12px;
}

.nav-links a {
    text-decoration: none;
    color: #001f3f;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ff5722;
    background-color: #fff0eb; /* Halka orange background */
    border-radius: 5px;
}

/* Auth Buttons (High Impact) */
.auth-buttons .btn {
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-login {
    color: #001f3f;
    border: 2px solid #001f3f;
    background: transparent;
    margin-right: 15px;
}

.btn-login:hover {
    background: #001f3f;
    color: #ffffff;
}

.btn-register {
    background-color: #ff5722; /* Action Orange */
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
}

.btn-register:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.6);
}

/* =========================================
   Homepage: Hero Section (Energetic)
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, #001f3f 0%, #00509e 100%);
    color: #ffffff;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #f0f4f8;
    transform: skewY(-2deg);
}

.hero-content h2 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content h2 span {
    color: #ffaa00; /* Pop of yellow */
}

.hero-content p {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.btn-primary {
    background-color: #ffaa00;
    color: #001f3f;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(255, 170, 0, 0.5);
    transition: all 0.3s ease;
    margin-right: 20px;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 170, 0, 0.7);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 3px solid #ffffff;
    padding: 13px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #001f3f;
}

/* =========================================
   Homepage: Services Section (Action Cards)
   ========================================= */
.services-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: #001f3f;
    text-transform: uppercase;
}

.section-title h2 span {
    color: #ff5722;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

/* Action-Oriented Card Style */
.service-card {
    background: #ffffff;
    width: calc(25% - 25px);
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 6px solid #ff5722; /* Thick action border */
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-bottom: 6px solid #001f3f;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: #fff0eb;
    color: #ff5722;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background: #001f3f;
    color: #ffffff;
    transform: rotate(360deg); /* Playful action */
}

.service-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 15px;
}

.service-card p {
    color: #555555;
    font-size: 15px;
    margin-bottom: 25px;
    font-weight: 600;
}

.service-link {
    display: inline-block;
    background-color: #f0f4f8;
    color: #001f3f;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    background-color: #ff5722;
    color: #ffffff;
}

/* =========================================
   Main Footer (Bold Dark)
   ========================================= */
.main-footer {
    background-color: #001f3f;
    color: #ffffff;
    padding: 70px 0 20px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-container > div {
    width: 30%;
    margin-bottom: 30px;
}

.main-footer h3 {
    color: #ffaa00;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-about p {
    font-size: 15px;
    color: #cccccc;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffaa00;
    padding-left: 8px;
}

.footer-contact p {
    font-size: 15px;
    color: #cccccc;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    border-top: 2px solid #003366;
    padding-top: 20px;
    margin-top: 30px;
    font-size: 14px;
    color: #888888;
    font-weight: 600;
}

/* =========================================
   Mobile Responsive
   ========================================= */
@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    .nav-links {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-content h2 {
        font-size: 35px;
    }
    .btn-primary, .btn-secondary {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    .services-grid {
        flex-direction: column;
        gap: 20px;
    }
    .service-card {
        width: 100%;
    }
    .footer-container > div {
        width: 100%;
        text-align: center;
    }
}