@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-color: #D4AF37;
    /* Gold */
    --secondary-color: #000000;
    /* Black */
    --accent-color: #C5A028;
    /* Deeper Gold */
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-light: #F9F9F9;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.premium-font {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.98);
    /* Solid-ish background to prevent overlap */
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.top-bar {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-info i {
    color: var(--primary-color);
    margin-right: 8px;
}

.nav-container {
    padding: 5px 50px 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo img,
.header-logo-img {
    height: 60px;
    filter: brightness(1.1);
    object-fit: contain;
}

.nav-menu {
    display: flex;
    margin-left: auto;
    margin-right: 30px;

}

.nav-item {
    margin-left: 20px;
    /* Reduced from 30px to prevent crowding on laptops */
    position: relative;
}

.nav-link {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
    display: inline-block;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 15px 0;
    z-index: 1001;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 8px 25px;
}

.dropdown-link {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
    display: block;
    transition: var(--transition);
}

.dropdown-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.nav-link i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: var(--transition);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Mega Menu Styles */
.mega-menu {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.95);
    width: 95vw;
    max-width: 1300px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-top: 4px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 30px;
    z-index: 1001;
    border-radius: 0 0 15px 15px;
    /* Prevent overflow on short-height screens */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Styled scrollbar for mega-menu on short screens */
.mega-menu::-webkit-scrollbar {
    width: 5px;
}

.mega-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.mega-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.mega-menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-column h4.mega-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    letter-spacing: 1px;
}

.mega-column ul li {
    margin-bottom: 10px;
}

.mega-column ul li a {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    display: block;
}

.mega-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-premium:hover::after {
    transform: rotate(45deg) translateY(100%);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.btn-pulse {
    animation: pulseGlow 2s infinite;
}

/* Marquee Animation */
.expertise-marquee {
    background: var(--primary-color);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    color: #fff;
    width: 100%;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee-scroll 90s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track span {
    display: inline-block;
    padding-right: 50px;
    font-weight: 500;
}

.marquee-track span i {
    margin-right: 8px;
}

@keyframes marquee-scroll {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding-right: 50px !important;
    }
}

/* WhatsApp & Phone Floating Buttons */
.whatsapp-float,
.phone-float {
    position: fixed;
    width: 60px;
    height: 60px;
    right: 30px;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float {
    bottom: 30px;
    background-color: #25d366;
}

.phone-float {
    bottom: 105px;
    /* Positioned above WhatsApp */
    background-color: var(--primary-color);
}

.whatsapp-float:hover,
.phone-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float:hover {
    background-color: #128c7e;
}

.phone-float:hover {
    background-color: var(--accent-color);
}

/* Add a pulse effect to catch attention */
@keyframes button-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

.phone-float {
    animation: button-pulse 2s infinite;
}

@media (max-width: 768px) {

    .whatsapp-float,
    .phone-float {
        width: 50px;
        height: 50px;
        right: 20px;
        font-size: 25px;
    }

    .whatsapp-float {
        bottom: 20px;
    }

    .phone-float {
        bottom: 85px;
    }
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

.animated-logo {
    background: linear-gradient(to right, var(--primary-color) 20%, #FFF 40%, #FFF 60%, var(--primary-color) 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
}

/* Sections */
.section {
    padding: 50px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Hero Section */
@keyframes bgGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero {
    min-height: 60vh;
    /* Changed from height to min-height */
    padding-top: 20px;
    /* Added padding to clear sticky header */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-start;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.1));
    background-size: 400% 400%;
    animation: bgGradient 10s ease infinite;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 5% 40px;
    border-top: 5px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.footer-column p,
.footer-column li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* New Sections Styles */
.why-card,
.process-step {
    background: white;
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card:hover,
.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.process-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.accreds-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    transition: var(--transition);
}

.accreds-grid:hover {
    transform: scale(1.02);
}

.accred-logo {
    height: 80px;
}

/* Expertise Section Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 15px;
    padding: 20px 0;
}

.expertise-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.expertise-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.expertise-card h3 {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.expertise-card p {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .expertise-card {
        padding: 12px;
    }

    .expertise-card h3 {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.contact-hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.contact-info-section {
    padding: 100px 5%;
    background: linear-gradient(to bottom, #fff, #f4f4f4);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form-container {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 0 auto 80px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.contact-form-left {
    flex: 1.5;
    min-width: 300px;
}

.contact-form-right {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.contact-form-right h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form-right p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.contact-form-right i {
    margin-right: 12px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.map-container {
    width: 100%;
    height: 500px;
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Stats Section */
.stats-section {
    background: var(--secondary-color);
    padding: 80px 5%;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Testimonials */
.testimonials-section {
    background: #f8f9fa;
    padding: 100px 5%;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-content {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 3px;
    color: var(--secondary-color);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Blog Section */
.blog-section {
    padding: 100px 5%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.blog-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

/* Wow Factors & Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Service Card Design */
.service-card {
    background: white !important;
    padding: 50px 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 5px solid var(--primary-color) !important;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.25) !important;
    border-bottom-color: transparent !important;
}

.service-card:hover::before {
    height: 100%;
}

.service-card i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    background: rgba(212, 175, 55, 0.1);
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

.service-card:hover i {
    color: white;
    background: rgba(255, 255, 255, 0.25);
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    transition: all 0.5s ease;
    font-family: 'Outfit', sans-serif;
}

.service-card:hover h3 {
    color: white;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    transition: all 0.5s ease;
    margin-bottom: 0;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Premium Divider Enhancement */
.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover .divider {
    width: 100px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- Responsive Design --- */

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--primary-color);
}

/* laptop / tablet breakpoint (1024px) */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block !important;
        position: relative !important;
        z-index: 1001 !important;
        /* Higher than nav-menu's 999 */
        color: var(--primary-color) !important;
    }

    .header.scrolled .top-bar {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        opacity: 0;
        border-bottom: none;
        pointer-events: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 80px 20px 60px;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Styled scrollbar for mobile nav panel */
    .nav-menu::-webkit-scrollbar {
        width: 4px;
    }

    .nav-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 4px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    /* Mega Menu Adjustments for Mobile */
    .mega-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .mega-menu-item.active .mega-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .mega-menu-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mega-column {
        text-align: center !important;
        width: 100% !important;
        margin: 0 0 40px 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mega-column h4.mega-title {
        margin: 25px auto 20px !important;
        text-align: center !important;
        font-size: 1.2rem !important;
        padding-bottom: 10px !important;
        border-bottom: 3px solid var(--primary-color) !important;
        color: var(--primary-color) !important;
        display: inline-block !important;
        width: auto !important;
        min-width: 200px !important;
    }

    .mega-column ul {
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        list-style: none !important;
        gap: 18px !important;
    }

    .mega-column ul li {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mega-column ul li a {
        text-align: center !important;
        margin: 0 auto !important;
        padding: 12px 15px !important;
        display: block !important;
        width: fit-content !important;
        max-width: 95% !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
        color: #eee !important;
    }

    .mega-column ul li a:hover {
        color: var(--primary-color) !important;
        transform: scale(1.08);
    }

    .nav-item:hover .mega-menu {
        display: block;
    }

    /* General responsive grids */
    .services-grid,
    .footer-grid,
    .accreds-grid,
    .stats-grid,
    .testimonial-grid,
    .blog-grid,
    .why-us>div {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    }

    /* Internal Page Sidebar Stacking */
    main>.container,
    main>div.container {
        flex-direction: column !important;
    }

    aside {
        position: static !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 30px;
    }

    aside+div,
    aside+section {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    /* Hero Section Stacking earlier for better tablet UX */
    .hero-container {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
        padding: 60px 5% !important;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-form {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Tablet-only: 768px - 1024px — 2 category columns side by side */
@media (min-width: 768px) and (max-width: 1024px) {
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 30px;
    }

    .mega-column ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 12px;
    }

    .mega-column ul li a {
        font-size: 0.78rem;
    }
}

/* tablet breakpoint (768px) */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        text-align: center;
    }

    .top-bar-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .top-bar-info span {
        margin-right: 0;
    }

    .nav-container {
        padding: 10px 5%;
    }

    /* Hero Section Stacking */
    .hero-container {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
        padding: 60px 5% !important;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.22rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-form {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Sidebars Stacking */
    .btn-premium {
        width: 100%;
        text-align: center;
    }
}

/* mobile breakpoint (480px) */
@media (max-width: 480px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .logo img,
    .header-logo-img {
        height: 45px;
    }

    .nav-container .btn-premium {
        display: none !important;
    }

    .hero-container {
        padding-top: 100px !important;
    }

    .hero-content span.floating {
        font-size: 0.8rem;
        display: inline-block;
        margin-bottom: 10px;
    }
}

/* Modal Wow Factor Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(50px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.modal-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-form .form-control {
    background: #fdfdfd;
    border: 1px solid #eee;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.modal-form .form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
    outline: none;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.btn-pulse {
    animation: pulseGlow 2s infinite;
}