* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

footer {
    width: 100% !important;
    margin: 0 !important;
}
/* DIGITAL PRAYAG PREMIMUM STYLES 2025 */
:root {
    --primary: #002e5b;
    --accent: #ffcc00;
    --text-dark: #1a1a1a;
    --light-bg: #f4f8ff;
}

body { font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* Navbar Styles */
.navbar { background: #fff; padding: 15px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.nav-links li a { 
    font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--primary); 
    text-decoration: none; padding: 8px 15px; transition: 0.3s; 
}
.nav-links li a:hover { color: #ff6b00; transform: scale(1.1); display: inline-block; }

/* Hero Section */
.hero-section { 
    padding: 100px 0; background: linear-gradient(135deg, #fdfdff 0%, #eef5ff 100%); 
    min-height: 80vh; display: flex; align-items: center; border-bottom: 2px solid #e1e9f5;
}
.hero-container { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.hero-content { flex: 1; min-width: 450px; }
.hero-image { flex: 1; min-width: 450px; }

.tagline-badge { 
    background: rgba(0, 46, 91, 0.1); color: var(--primary); padding: 8px 20px; 
    border-radius: 50px; font-weight: 800; display: inline-block; margin-bottom: 25px; 
}

.hero-content h1 { font-size: 54px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.hero-content p { font-size: 18px; color: #444; margin: 25px 0 40px; line-height: 1.8; }

/* Button Fixes (The Problem You Shared) */
.btn-audit { 
    background: var(--primary) !important; color: #fff !important; 
    padding: 15px 35px; border-radius: 10px; font-weight: 700; 
    text-decoration: none; display: inline-block; transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 46, 91, 0.2); border: none;
}
.btn-services { 
    background: transparent !important; color: var(--primary) !important; 
    padding: 15px 35px; border-radius: 10px; font-weight: 700; 
    text-decoration: none; display: inline-block; transition: 0.3s;
    border: 2px solid var(--primary) !important; margin-left: 15px;
}

.btn-audit:hover { background: var(--accent) !important; color: var(--primary) !important; transform: translateY(-3px); }
.btn-services:hover { background: var(--primary) !important; color: #fff !important; transform: translateY(-3px); }

/* Slider Styling */
#heroCarousel { border: 12px solid #fff; border-radius: 30px; box-shadow: 0 25px 50px rgba(0,0,0,0.1); overflow: hidden; }
/* --- Fix for Image and Dropdown --- */
.hero-section {
    overflow: visible !important; /* ताकि ड्रॉपडाउन मेनू नीचे दिखाई दे */
    padding: 60px 0;
    background: #f8fbff;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* मोबाइल पर ऊपर-नीचे करने के लिए */
}

.hero-content {
    flex: 1;
    min-width: 320px;
    padding-right: 20px;
}

.hero-image-box {
    flex: 1;
    min-width: 320px;
    max-width: 550px; /* इमेज को बहुत बड़ा होने से रोकने के लिए */
}

.slider-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden; /* सिर्फ स्लाइडर के अंदर की इमेज को काटने के लिए */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 8px solid #fff;
}

.slider-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* इमेज पूरी दिखेगी, कटेगी नहीं */
}

/* Dropdown को वापस लाने के लिए */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 9999 !important; /* सबसे ऊपर रखने के लिए */
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* GLOBAL FIXES */
body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; }

/* Dropdown को सुरक्षित रखना */
.nav-links { display: flex; list-style: none; gap: 20px; align-items: center; }
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    padding: 10px 0;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { color: #002e5b; padding: 10px 20px; text-decoration: none; display: block; transition: 0.3s; }
.dropdown-content a:hover { background: #f4f8ff; color: #ff6b00; }

/* Hero Section Layout */
.custom-hero {
    padding: 60px 0;
    background: #f8fbff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e1e9f5;
}

/* बटन की नई प्रीमियम स्टाइल (Hover Effect के साथ) */
.btn-new-audit {
    background: #002e5b !important;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-new-audit:hover { background: #ffcc00 !important; color: #002e5b !important; transform: translateY(-3px); }

.btn-new-services {
    background: transparent !important;
    color: #002e5b !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
    border: 2px solid #002e5b !important;
    margin-left: 15px;
}
.btn-new-services:hover { background: #002e5b !important; color: #fff !important; transform: translateY(-3px); }

/* स्लाइडर फ्रेम - इमेज नहीं कटेगी */
.slider-container {
    width: 100%;
    max-width: 550px;
    border: 8px solid #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}
.slider-container img { width: 100%; height: auto; object-fit: contain; }
/* --- Footer WhatsApp & Form Fix --- */

/* 1. WhatsApp Icon को कंट्रोल करने के लिए */
.whatsapp-footer-icon {
    width: 60px !important;   /* आइकॉन का साइज छोटा करने के लिए */
    height: 60px !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* 2. Consultation Form को सही करने के लिए */
.consultation-form-section {
    padding: 50px 0;
    background: #f8fbff;
}

.consultation-form-section h3 {
    color: #002e5b;
    font-weight: 700;
    margin-bottom: 20px;
}

.consultation-form-section input, 
.consultation-form-section textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
}

.btn-send-message {
    background: #002e5b;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send-message:hover {
    background: #ff6b00;
}
/* --- Popup Fix & Design --- */
.popup-overlay {
    display: none; /* शुरू में छुपा रहेगा */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); /* पीछे का हिस्सा धुंधला */
    z-index: 10000;
}

.popup-box {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 90%; max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.popup-box h3 { color: #002e5b; margin-bottom: 10px; }

.popup-box input, .popup-box textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.popup-box button {
    background: #002e5b;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px; cursor: pointer; color: #666;
}
.btn-learn {
    background-color: #002e5b !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    font-weight: 600;
    text-align: center;
    width: 100%; /* कार्ड के अंदर पूरा बटन दिखेगा */
}

.btn-learn:hover {
    background-color: #ffcc00 !important; /* होवर करने पर गोल्ड रंग */
    color: #002e5b !important;
}
.project-card {
    text-align: center;
    padding: 40px;
    font-family: 'Arial', sans-serif;
}

.icon-container {
    font-size: 50px;
    color: #0056b3; /* प्रोफेशनल ब्लू कलर */
    margin-bottom: 15px;
}

.project-card h2 {
    color: #003366;
    margin-bottom: 10px;
}

.view-project {
    display: inline-block;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.view-project:hover {
    text-decoration: underline;
}
/* पोर्टफोलियो पेज के गैप्स को खत्म करने के लिए */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden; /* राइट साइड की सफेद पट्टी हटाने के लिए */
}

/* अगर फूटर के नीचे सफेद पट्टी है, तो इसे इस्तेमाल करें */
footer {
    margin-bottom: 0 !important;
}

/* पोर्टफोलियो का मुख्य सेक्शन स्क्रीन की पूरी चौड़ाई ले सके */
.project-card, .my-special-project-card, #portfolio-section {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* पेज की न्यूनतम ऊंचाई सेट करना ताकि फूटर नीचे चिपका रहे */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main, section {
    flex: 1;
}
/* Footer Gap and Layout Fix */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden; /* साइड की पट्टी को खत्म करता है */
}

/* सुनिश्चित करता है कि मुख्य सेक्शन पूरी जगह ले */
#portfolio-section {
    width: 100% !important;
    box-sizing: border-box;
}

/* फूटर को एकदम नीचे और सही पोजीशन में रखने के लिए */
footer {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 0 !important;
    background-color: #002e5b; /* अगर आपका फूटर डार्क ब्लू है */
    position: relative;
    clear: both;
}
/* सफ़ेद पट्टी (White Gaps) को पूरी तरह हटाने के लिए */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important; /* साइड की पट्टी हटाता है */
}

/* ये सुनिश्चित करता है कि कोई भी सेक्शन बाहर न निकले */
section, footer, header {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

footer {
    display: block !important;
    clear: both !important;
    padding: 20px 0 !important;
    background-color: #002e5b; /* अपना रंग चेक करें */
}
/* ===== FINAL FORCE CENTER FIX (BOOTSTRAP OVERRIDE) ===== */

.services-container {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    width: 100% !important;
}

.service-item {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Bootstrap row override (REAL PROBLEM) */
.services-container .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Agar cards col ke andar hain */
.services-container [class*="col-"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
    display: flex;
    justify-content: center;
}
