/* =========================================
   GLOBAL STYLES & FONTS
========================================= */
* {
    font-family: 'Poppins', sans-serif !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-size: 16px !important;
    background: #ffffff;
    color: #444;
    overflow-x: hidden;
}

p {
    font-size: 18px !important;
    line-height: 1.6;
    font-weight: 400;
    color: #444;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #000000;
}

h1 { font-size: 68px !important; }
h2 { font-size: 42px !important; }
h3 { font-size: 36px !important; }
h4 { font-size: 32px !important; }
h5 { font-size: 24px !important; }
h6 { font-size: 22px !important; }

/* Global Padding Class (Ensures no section overlap) */
.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

/* =========================================
   NAVBAR
========================================= */
.navbar, .navbar.sticky-nav {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5e5e5;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: background 0.3s ease-out;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: #000000 !important;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar .navbar-nav .nav-link {
    color: #000000 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #0d6efd !important;
}

.contact-now-btn {
    margin-left: auto;
    padding: 10px 24px;
    border-radius: 30px;
    background: #f7b500;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(247, 181, 0, 0.3);
}

.contact-now-btn:hover {
    background: #ffcc33;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(247, 181, 0, 0.4);
}

/* =========================================
   ADVANCED HERO SECTION (FIXED HEIGHT)
========================================= */
.main-slider, 
#heroCarousel, 
.carousel-inner, 
.carousel-item {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}

.img-wrapper {
    width: 100%;
    height: 100%;
    background-color: #000;
}

/* Ken Burns Zoom Effect */
.carousel-item .slider-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.1);
    transform: scale(1.0);
    transition: transform 8s ease-out;
}

.carousel-item.active .slider-img {
    transform: scale(1.12);
}

/* Clean Dark Gradient Overlay */
.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Clean Text (No ugly blur background) */
.slider-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 2;
    max-width: 750px;
    padding: 20px;
}

.slider-content h1 {
    font-size: 64px !important;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.7);
}

.slider-content h1 .highlight {
    color: #f7b500;
    display: inline-block;
}

.slider-content p {
    font-size: 22px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400;
    margin-bottom: 35px;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.8);
}

.slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 30px;
    background: #f7b500;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.slider-btn:hover {
    background: #ffffff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Custom Arrows */
.custom-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 999 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2) !important;
    font-size: 24px !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-prev { left: 40px !important; }
.custom-next { right: 40px !important; }

.custom-arrow:hover {
    background: #f7b500 !important;
    color: #000 !important;
    border-color: #f7b500 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* =========================================
   ABOUT SECTION
========================================= */
#section_2 {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    z-index: 10;
}

.about-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 55px 60px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    border-top: 6px solid #f7b500;
    max-width: 950px;
    margin: auto;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-title {
    font-weight: 700;
    font-size: 38px !important;
    color: #111;
}

.about-divider {
    width: 60px;
    height: 4px;
    background: #f7b500;
    margin-bottom: 30px;
    border-radius: 2px;
}

.about-card p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 17px !important;
}

/* =========================================
   SERVICES SECTION
========================================= */
#section_3 { background: #ffffff; }

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 35px;
    height: 100%;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transform: rotate(-5deg);
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: rotate(0deg);
    background: #0d6efd;
}

.service-card:hover .service-icon-wrapper i {
    color: #fff;
}

.service-icon-wrapper i {
    font-size: 38px;
    color: #0d6efd;
    transition: color 0.4s ease;
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 24px !important;
}

.service-card ul {
    padding-left: 20px;
    margin: 0;
}

.service-card ul li {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #666;
}

/* =========================================
   PANELS SECTION
========================================= */
#section_4 {
    background: linear-gradient(rgba(10, 15, 25, 0.9), rgba(10, 15, 25, 0.95)), url("../images/typesofpanels/bg.jpg") center/cover fixed;
    position: relative;
}

.panel-box {
    background: rgba(255,255,255,0.98);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid transparent;
}

.panel-box:hover {
    transform: translateY(-12px);
    border-bottom: 4px solid #f7b500;
}

.panel-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    background: rgba(247, 181, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.panel-box:hover .panel-icon {
    background: #f7b500;
}

.panel-box:hover .panel-icon i {
    color: #000;
}

.panel-icon i {
    font-size: 34px;
    color: #f7b500;
    transition: color 0.3s;
}

.panel-box h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.panel-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.panel-box .view-more {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #0d6efd;
    transition: transform 0.3s ease;
}

.panel-box:hover .view-more {
    transform: translateX(8px);
}

/* =========================================
   CERTIFICATES SECTION (FIXED PADDING)
========================================= */
.certificates-section {
    background-color: #f8f9fa;
    /* Extra space added here to avoid overlap */
}

.certificates-title {
    color: #111;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 50px;
}

.certificate-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    cursor: pointer;
    border: 1px solid #eee;
}

.certificate-card img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.certificate-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.certificate-card:hover img {
    transform: scale(1.08);
}

.certificate-card h6 {
    margin-top: 20px;
    font-weight: 700;
    color: #333;
    font-size: 18px !important;
}

/* =========================================
   CONTACT SECTION (FIXED PADDING)
========================================= */
.contact-section {
    background: linear-gradient(135deg, #eef2f6, #e0e5ec);
    /* Extra space added here to avoid overlap */
}

.contact-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.contact-title {
    font-weight: 800;
    font-size: 36px !important;
    margin-bottom: 15px;
}

.contact-info {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #f7b500 !important;
    margin-right: 15px;
    font-size: 20px;
    background: rgba(247, 181, 0, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info a {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0d6efd !important;
}

.contact-form input,
.contact-form textarea {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 14px 20px;
    background: #fcfcfc;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f7b500;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(247, 181, 0, 0.15);
    outline: none;
}

.contact-btn {
    background: #000;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #f7b500;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(247, 181, 0, 0.3);
}

/* =========================================
   FOOTER SECTION
========================================= */
.site-footer {
    background: #0b111a;
    padding-top: 80px;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 20px !important;
    margin-bottom: 25px;
}

.footer-title::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #f7b500;
    display: block;
    margin-top: 12px;
    border-radius: 2px;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu-link {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-menu-link:hover {
    color: #f7b500 !important;
    padding-left: 8px;
}

.footer-contact h6 {
    color: white;
    font-size: 15px !important;
}

.footer-contact p {
    color: rgba(255,255,255,0.6);
    font-size: 14px !important;
}

.footer-icon {
    border-color: #f7b500;
    color: #f7b500;
}

.footer-link {
    color: rgba(255,255,255,0.6) !important;
}

.footer-link:hover {
    color: #f7b500 !important;
}

.footer-bottom {
    background: #05080c;
    margin-top: 50px;
    padding: 25px 0;
    border-top: none;
}

.bottom-left i {
    color: #f7b500;
}

.footer-name {
    color: #f7b500;
}

/* =========================================
   PANEL MODAL
========================================= */
.panel-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9999;
}

.panel-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.panel-modal-box {
    background: #fff;
    max-width: 550px;
    width: 90%;
    padding: 40px;
    border-radius: 20px;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.panel-modal.show .panel-modal-box {
    transform: scale(1) translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #888;
    transition: color 0.3s;
}
.close-btn:hover { color: #000; }

/* =========================================
   WHATSAPP FLOATING CTA
========================================= */
.whatsapp-cta {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #25D366;
    color: #ffffff;
    padding: 15px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-cta:hover {
    background: #1ebe5d;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.whatsapp-cta.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* =========================================
   RESPONSIVE (MOBILE FIXES)
========================================= */
@media (max-width: 991px) {
    .navbar { padding-top: 10px; padding-bottom: 10px; }
    .about-card { padding: 40px 30px; }
    .contact-card { padding: 40px 30px; }
}

@media (max-width: 768px) {
    .slider-content {
        left: 5%;
        right: 5%;
        text-align: center;
        padding: 20px;
    }
    .slider-content h1 { font-size: 44px !important; }
    .slider-content p { font-size: 18px !important; margin-bottom: 20px; }
    .slider-btn { padding: 12px 24px; font-size: 15px; }
    .custom-arrow { display: none !important; }
    .about-title { font-size: 30px !important; }
}

@media (max-width: 576px) {
    .slider-content h1 { font-size: 36px !important; }
    .section-padding { padding-top: 80px; padding-bottom: 80px; }
}