/*
 * Theme Name: Dhanalakshmi Infra
 * CSS Variables are defined in header.php via the Customizer.
 * Fallbacks are provided here.
 */

:root {
    --primary-color-fallback: #0e3a6a;
    --secondary-color-fallback: #d9a93e;
    --text-color-fallback: #333333;
    --bg-color-fallback: #ffffff;
    --light-bg: #f5f7fa;
    --font-main-fallback: 'Montserrat', sans-serif;
    --font-secondary-fallback: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Reset & Typography
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main, var(--font-main-fallback));
    color: var(--text-color, var(--text-color-fallback));
    background-color: var(--bg-color, var(--bg-color-fallback));
    line-height: 1.8;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main, var(--font-main-fallback));
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color, var(--primary-color-fallback));
}

p {
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary, var(--font-secondary-fallback));
}

a {
    color: var(--primary-color, var(--primary-color-fallback));
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color, var(--secondary-color-fallback));
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color, var(--secondary-color-fallback));
    color: #fff;
    box-shadow: 0 4px 15px rgba(217, 169, 62, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color, var(--primary-color-fallback));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 58, 106, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color, var(--secondary-color-fallback));
    border-color: var(--secondary-color, var(--secondary-color-fallback));
}

.btn-secondary:hover {
    background-color: var(--secondary-color, var(--secondary-color-fallback));
    color: #fff;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color, var(--primary-color-fallback));
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.topbar {
    background-color: var(--primary-color, var(--primary-color-fallback));
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    font-family: var(--font-secondary, var(--font-secondary-fallback));
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-contact span {
    margin-right: 20px;
}

.topbar-contact i {
    color: var(--secondary-color, var(--secondary-color-fallback));
    margin-right: 5px;
}

.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.custom-logo {
    max-height: 80px;
}

.site-title {
    margin: 0;
    font-size: 24px;
}

.site-title a {
    color: var(--primary-color, var(--primary-color-fallback));
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 30px;
}

.main-navigation ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    color: var(--text-color, var(--text-color-fallback));
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    display: block;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color, var(--secondary-color-fallback));
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 3px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a,
.main-navigation .current_page_item>a {
    color: var(--secondary-color, var(--secondary-color-fallback));
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item>a::after,
.main-navigation .current_page_item>a::after {
    width: 100%;
}

.header-cta .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color, #d9a93e), #b88a2a);
    border: none;
    box-shadow: 0 4px 15px rgba(217, 169, 62, 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    padding: 12px 30px;
    color: #fff;
    transition: all 0.3s ease;
}

.header-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 169, 62, 0.6);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color, var(--primary-color-fallback));
    cursor: pointer;
}

/* ==========================================================================
   Hero Section (Bright Redesign)
   ========================================================================== */
.hero-bright {
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: var(--text-color, var(--text-color-fallback));
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(14, 58, 106, 0.1);
    color: var(--primary-color, var(--primary-color-fallback));
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    color: #1a202c;
    /* Dark text for bright bg */
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.1s;
    animation-fill-mode: backwards;
}

.hero-title .highlight-text {
    color: var(--secondary-color, var(--secondary-color-fallback));
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: backwards;
}

.hero-features-list span {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
}

.hero-features-list i {
    color: #38a169;
    margin-right: 8px;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: backwards;
}

.hero-actions .btn {
    padding: 15px 35px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.hero-actions .btn i {
    margin-left: 8px;
}

.hero-actions .btn-primary {
    background-color: var(--primary-color, var(--primary-color-fallback));
    color: #fff;
    box-shadow: 0 10px 25px rgba(14, 58, 106, 0.3);
}

.hero-actions .btn-primary:hover {
    background-color: var(--secondary-color, var(--secondary-color-fallback));
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 163, 60, 0.4);
}

/* Hero Visual & Images */
.main-image-wrapper {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: fadeInRight 1s ease 0.3s;
    animation-fill-mode: backwards;
}

.hero-main-img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    display: block;
    border: 10px solid #fff;
    /* White frame effect */
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 12px 30px 12px 12px;
    /*display: flex;*/
	display: none;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
	
}

.floating-badge.top-right {
    top: 20px;
    right: 20px;
}

.floating-badge .icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary-color, #d9a93e), #b88a2a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(217, 169, 62, 0.4);
}

.floating-badge .text {
    display: flex;
    flex-direction: column;
}

.floating-badge .text strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
}

.floating-badge .text span {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

/* Background Shapes for brightness & depth */
.hero-bright .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
}

.hero-bright .shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(230, 163, 60, 0.2);
    top: -100px;
    right: -100px;
}

.hero-bright .shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(14, 58, 106, 0.15);
    bottom: -50px;
    left: -100px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

/* Responsive adjustments for bright hero */
@media (max-width: 991px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-title .highlight-text {
        display: inline;
    }

    .hero-features-list {
        justify-content: center;
    }

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

    .floating-badge.top-right {
        top: auto;
        bottom: -20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-header {
    margin-bottom: 50px;
}

.home .section-header .divider {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color, var(--secondary-color-fallback));
    margin-bottom: 20px;
}

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

.service-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    border-bottom-color: var(--secondary-color, var(--secondary-color-fallback));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--secondary-color, var(--secondary-color-fallback));
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color, var(--primary-color-fallback));
    color: #fff;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content .divider {
    margin-left: 0;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color-fallback), #2a5a8f);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background-color: var(--secondary-color, var(--secondary-color-fallback));
    color: #fff;
}

.cta-title {
    color: #fff;
    font-size: 2.5rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.2rem;
    font-weight: 600;
}

.cta-contact-info i {
    margin-right: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--primary-color, var(--primary-color-fallback));
    color: #fff;
    padding-top: 60px;
}

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

.widget-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color, var(--secondary-color-fallback));
}

.footer-logo {
    max-height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-widget a {
    color: #cbd5e1;
}

.footer-widget a:hover {
    color: var(--secondary-color, var(--secondary-color-fallback));
}

.widget-links ul li {
    margin-bottom: 10px;
}

.contact-info-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info-list i {
    color: var(--secondary-color, var(--secondary-color-fallback));
    margin-top: 5px;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.site-info {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    font-size: 14px;
}

.site-info-inner {
    display: flex;
    justify-content: space-between;
}

.site-info p {
    margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .topbar-contact {
        display: none;
        /* Hide detailed contact in topbar on mobile */
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-contact-info {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================
   New Homepage Sections
   ========================================================================== */
.about-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-check-list {
    margin: 25px 0;
}

.about-check-list li {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color, var(--primary-color-fallback));
}

.about-check-list i {
    color: var(--secondary-color, var(--secondary-color-fallback));
    margin-right: 10px;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image img {
    border-radius: 12px;
    width: 100%;
}

.experience-badge {
    position: absolute;
    top: -50px;
    right: -50px;
    background: var(--secondary-color, var(--secondary-color-fallback));
    color: #fff;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    line-height: 1.2;
}

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

.project-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 8px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.project-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-12px);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 58, 106, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--secondary-color, var(--secondary-color-fallback));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-item:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: #fff;
    color: var(--primary-color, var(--primary-color-fallback));
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.project-info p {
    margin-bottom: 0;
    color: #666;
    font-size: 0.9rem;
}

.features-section {
    background-color: var(--primary-color, var(--primary-color-fallback)) !important;
    color: #fff;
}

.features-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.feature-col {
    flex: 1;
    min-width: 300px;
}

.feature-col p {
    color: #cbd5e1;
}

.features-section .section-title {
    color: #ffffff;
}

.feature-items-col {
    flex: 1.5;
    min-width: 300px;
}

.feature-item {
    display: flex;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 30px;
    color: var(--secondary-color, var(--secondary-color-fallback));
    margin-right: 20px;
    min-width: 40px;
}

.feature-item h4 {
    color: #fff;
    margin-bottom: 5px;
}

.feature-item p {
    margin-bottom: 0;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.contact-link {
    color: #fff;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-color, var(--primary-color-fallback));
}

/* ==========================================================================
   Trust/Stats Banner
   ========================================================================== */
.stats-banner {
    background-color: var(--primary-color, var(--primary-color-fallback));
    color: #fff;
    padding: 30px 0;
    margin-top: -5px;
    /* Pull up to hide any gap under hero */
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color, var(--secondary-color-fallback));
    margin-bottom: 5px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cbd5e1;
    margin: 0;
}

/* ==========================================================================
   How It Works / Process
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
}

/* Optional line connecting steps on desktop */
@media (min-width: 992px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 50px;
        right: 50px;
        height: 2px;
        background: rgba(14, 58, 106, 0.1);
        z-index: 1;
    }
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color, var(--primary-color-fallback));
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid #f8f9fa;
    /* Matches bg-light */
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--primary-color, var(--primary-color-fallback));
    color: #fff;
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translate(45px, -10px);
    width: 30px;
    height: 30px;
    background: var(--secondary-color, var(--secondary-color-fallback));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   Packages / Pricing
   ========================================================================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: center;
    /* Center to allow middle one to be taller */
}

.package-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 8px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-color, var(--primary-color-fallback));
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

@media (max-width: 991px) {
    .package-card.popular {
        transform: scale(1);
        /* Reset scale on mobile */
    }
}

.package-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.popular-badge {
    background: var(--secondary-color, var(--secondary-color-fallback));
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-header {
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color, var(--primary-color-fallback));
}

.package-price {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.package-price .currency {
    font-size: 1.5rem;
    margin-top: 10px;
    margin-right: 5px;
}

.package-price .unit {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin-top: 25px;
    margin-left: 5px;
}

.package-body {
    padding: 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;
    color: #555;
    display: flex;
    align-items: center;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features i {
    color: #28a745;
    /* Green checkmark */
    margin-right: 15px;
    font-size: 1.1rem;
}

.package-card .btn {
    width: 100%;
    margin-top: auto;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

@keyframes 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);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    border-top: 4px solid var(--secondary-color);
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.swiper-pagination {
    position: relative;
    margin-top: 40px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* Contact Layout Form */
.contact-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.contact-info-col {
    flex: 1;
    min-width: 300px;
}

.contact-form-col {
    flex: 1;
    min-width: 350px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: rgba(217, 169, 62, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-detail-item h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.contact-detail-item a,
.contact-detail-item p {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
}

.form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
}

.form-wrapper h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 169, 62, 0.1);
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Swiper Slider Overrides */
.hero-slider .swiper-slide,
.projects-slider .swiper-slide,
.services-slider .swiper-slide,
.testimonials-slider .swiper-slide {
    height: auto;
    display: flex;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.hero-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 0;
    width: 100%;
    margin-top: 0;
    z-index: 10;
}

.projects-slider .swiper-pagination,
.services-slider .swiper-pagination {
    position: relative;
    margin-top: 2rem;
    /* margin-bottom: 2rem; */
}

#packages {
    padding-bottom: 100px;
}

.btn.btn-outline-primary {
    border-color: #d9a93e38;
}

.projects-section .text-center.mt-5 {
    margin-top: 1rem !important;
    /* adjust for relative pagination spacing */
}

/* ==========================================
   PHASE 3: ULTRA-PREMIUM INNER PAGE STYLES
   ========================================== */

/* Typography & Accents */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.watermark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

/* Glassmorphism & Overlays */
.glass-overlay {
    position: relative;
}

.glass-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 58, 106, 0.85) 0%, rgba(10, 35, 66, 0.95) 100%);
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.dark-glass-card {
    background: rgba(14, 58, 106, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-item {
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.bento-item-span-4 {
    grid-column: span 12;
}

@media (min-width: 992px) {
    .bento-item-span-4 {
        grid-column: span 4;
    }

    .bento-item-span-8 {
        grid-column: span 8;
    }

    .bento-item-span-6 {
        grid-column: span 6;
    }
}

/* Hover-Reveal Services Grid */
.hover-reveal-card {
    position: relative;
    border-radius: 20px;
    background: white;
    padding: 40px 30px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.hover-reveal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 20px;
}

.hover-reveal-card:hover {
    box-shadow: 0 20px 40px rgba(14, 58, 106, 0.2);
    transform: translateY(-10px);
}

.hover-reveal-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.hover-reveal-card .card-icon {
    width: 70px;
    height: 70px;
    background: rgba(14, 58, 106, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.hover-reveal-card .card-icon i {
    font-size: 28px;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.hover-reveal-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.hover-reveal-card:hover .card-icon i,
.hover-reveal-card:hover h4,
.hover-reveal-card:hover p,
.hover-reveal-card:hover .portfolio-hover-text {
    color: white !important;
}

.portfolio-archive .stretched-link::after {
    z-index: 999;
}

.hover-reveal-card .service-luxury-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(20px) rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hover-reveal-card:hover .service-luxury-badge {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

/* Premium Inputs */
.premium-input-group {
    position: relative;
    margin-bottom: 30px;
}

.premium-input-group .form-control {
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 15px 0;
    background: transparent;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: none;
}

.premium-input-group .form-control:focus {
    border-bottom-color: var(--primary-color);
    box-shadow: 0 10px 20px -10px rgba(14, 58, 106, 0.2);
}

.premium-input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 1.1rem;
}

.premium-input-group .form-control:focus~label,
.premium-input-group .form-control:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}





.home section#packages {
    background-color: var(--light-bg);
}
.home section#projects {
    display: none;
}
#packages {
  display: none;
}