/* --- 1. UNIVERSAL RESET --- */
*, *::before, *::after {
    box-sizing: border-box;
}

/* FIX: Height 100% hataya taaki scrolling smooth ho aur AOS kaam kare */
html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Right side blank space fix */
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background-color: transparent; /* Zaroori hai taaki peeche ka gradient dikhe */
}

/* --- 2. FIXED BACKGROUND LAYER (Ye kabhi nahi hatega) --- */
.global-bg-animation {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -5; /* Sabse peeche */
    background: linear-gradient(-45deg, #020617, #0f172a, #1e1e2e, #2a0a45);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- 3. FLOATING SHAPES CONTAINER --- */
.bg-shape-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -4; /* Gradient ke upar, content ke neeche */
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatShape 8s infinite alternate ease-in-out;
}

/* Shapes Positioning */
.shape-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: #00d2ff; opacity: 0.2; }
.shape-2 { bottom: 10%; right: -5%; width: 400px; height: 400px; background: #3a7bd5; animation-duration: 12s; opacity: 0.2; }
.shape-3 { top: 40%; left: 30%; width: 300px; height: 300px; background: #7c3aed; animation-duration: 9s; opacity: 0.15; }

@keyframes floatShape { 
    from { transform: translateY(0); } 
    to { transform: translateY(-50px); } 
}

/* --- 4. SECTIONS (Content Visible Fix) --- */
section {
    position: relative;
    padding: 80px 0;
    width: 100%;
    z-index: 2; /* Content background ke upar rahega */
}

/* Background Styles for Separation */
.section-transparent { background: transparent; }
.section-dark { 
    background: rgba(2, 6, 23, 0.85); /* Thoda dark taaki content padha jaye */
    border-top: 1px solid rgba(255,255,255,0.1); 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
}
.section-glass-bg { 
    background: rgba(30, 41, 59, 0.3); 
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.1); 
}

/* --- 5. COMPONENTS STYLING --- */
/* Variables */
:root {
    --primary: #00d2ff;
    --text-muted: #cbd5e1; /* Bright Grey Text */
}

/* Navbar */
.navbar {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}
.nav-link { color: var(--text-muted) !important; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

/* Titles */
.section-title span {
    background: linear-gradient(to right, var(--primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Text Visibility */
p, .text-muted { color: var(--text-muted) !important; }

/* Cards */
.custom-card {
    background: rgba(20, 30, 50, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    transition: 0.3s;
    height: 100%;
}
.custom-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(30, 45, 70, 0.8);
}

/* Contact Form */
.contact-wrapper {
    background: rgba(20, 30, 50, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
}
.form-control {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff !important;
}
.form-control:focus {
    background: rgba(2, 6, 23, 0.9);
    border-color: var(--primary);
    box-shadow: none;
}

/* Footer */
.footer-section {
    background: #010409;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 10;
    position: relative;
}
.footer-links a { color: var(--text-muted); text-decoration: none; display: block; margin-bottom: 10px; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

/* Mobile Fixes */
@media (max-width: 768px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .display-3 { font-size: 2.5rem; }
    .row { margin-left: 0; margin-right: 0; }
}

/* --- FIX: Form Input Visibility --- */
.form-floating > .form-control {
    background: rgba(255, 255, 255, 0.05) !important; /* Thoda lighter background */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important; /* Text Pure White */
    font-weight: 500;
}
.form-floating > .form-control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}
.form-floating > label {
    color: #cbd5e1 !important; /* Label ka color bright grey */
    opacity: 0.8;
}
/* Placeholder fix */
.form-control::placeholder {
    color: #a0aec0 !important;
    opacity: 0.7;
}

/* --- NEW: Pricing/Packages Section --- */
.pricing-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}
.package-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}
.package-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}
.package-features li i {
    color: #10b981; /* Green Check */
    margin-right: 10px;
}

/* --- Portfolio Images Fixed Size --- */
.portfolio-img {
    width: 100%;
    height: 280px; /* Height fix kar di (ise kam/zyada kar sakte hain) */
    object-fit: cover; /* Image ko stretch hone se rokega, frame me fit karega */
    object-position: top center; /* Website ka screenshot hamesha top se dikhega */
    border-radius: 10px;
    transition: transform 0.5s ease;
}

/* Optional: Hover par thoda zoom effect */
.custom-card:hover .portfolio-img {
    transform: scale(1.03);
}

/* --- Footer Logo Size Fixed --- */
.footer-logo-img {
    max-height: 50px; /* Logo ki maximum height set kar di */
    width: auto; /* Width apne aap adjust hogi taaki logo chipte nahi */
    margin-bottom: 25px;
    display: inline-block;
}

/* --- FIX: Form Double Text Issue --- */
.form-floating > .form-control::placeholder {
    color: transparent !important; /* Placeholder text ko gayab kar diya */
}
.form-floating > .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff !important;
}
.form-floating > .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: none;
}
.form-floating > label {
    color: #94a3b8; /* Normal label color */
    padding-left: 1rem; /* Alignment fix */
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary); /* Focus hone par label ka color */
    opacity: 1;
    background: transparent; /* Label ke peeche safed patti na aaye */
}

/* --- NEW: Map & FAQ Styles --- */
.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    filter: grayscale(100%) invert(92%) contrast(83%); /* Dark Map Theme */
}
.custom-accordion .accordion-item {
    background: rgba(20, 30, 50, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}
.custom-accordion .accordion-button {
    background: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: none;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
}
.custom-accordion .accordion-body {
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- FIX: Contact Icons Stretched Issue --- */
.contact-icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0 !important; /* SABSE ZAROORI: Ye icon ko chapta hone se rokega */
}

/* Mobile Gap Fix Utility (Optional agar Bootstrap gap kaam na kare) */
@media (max-width: 991px) {
    .mobile-gap-bottom {
        margin-bottom: 50px !important;
    }
}