/* ==========================================================================
   PENTAMORPH DEVELOPERS - MAIN STYLE SYSTEM
   Modern Kerala Construction & Interior Design Web Platform
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary: #f39c12;
    --primary-hover: #d35400;
    --primary-light: #fef5e7;
    --accent-gold: #ffb400;
    --dark-bg: #12151e;
    --dark-surface: #1a1e2b;
    --dark-card: #222736;
    --text-main: #2c3e50;
    --text-muted: #6c757d;
    --text-white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: #11141d;
}

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

ul {
    list-style: none;
}

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

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

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

/* Typography Helpers & Section Titles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.sub-title {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    position: relative;
}

.title-line {
    width: 70px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-line::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-gold);
    top: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

.section-desc {
    max-width: 700px;
    margin: 15px auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.35);
}

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

.btn-outline:hover {
    background: #ffffff;
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--dark-bg);
    color: #ffffff;
}

.btn-dark:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ==========================================================================
   1. HEADER NAVIGATION
   ========================================================================== */

/* Main Sticky Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dark-bg);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--primary-hover);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: #2c3e50;
    position: relative;
    padding: 8px 0;
}

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

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

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

.mobile-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--dark-bg);
}

/* ==========================================================================
   2. HERO FULLSCREEN SLIDER
   ========================================================================== */
.hero-slider-section {
    position: relative;
    height: calc(100vh - 85px);
    min-height: 550px;
    max-height: 750px;
    background-color: var(--dark-bg);
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 21, 30, 0.88) 0%, rgba(18, 21, 30, 0.6) 50%, rgba(18, 21, 30, 0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    color: #ffffff;
}

.slide-tag {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

.slide.active .slide-tag {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transform: translateY(40px);
    opacity: 0;
    transition: var(--transition);
}

.slide.active .slide-title {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.5s;
}

.slide-subtitle {
    font-size: 1.25rem;
    color: #e0e4ec;
    margin-bottom: 35px;
    line-height: 1.6;
    font-weight: 300;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

.slide.active .slide-subtitle {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.7s;
}

.slide-btn-group {
    display: flex;
    gap: 15px;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

.slide.active .slide-btn-group {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.9s;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background: var(--primary);
    width: 32px;
    border-radius: 10px;
}

/* ==========================================================================
   3. CORE SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--light-bg);
}

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

.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(243, 156, 18, 0.4);
}

.service-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark-bg);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link i {
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   4. STATS COUNTER PARALLAX BANNER
   ========================================================================== */
.stats-section {
    position: relative;
    background: linear-gradient(rgba(18, 21, 30, 0.92), rgba(18, 21, 30, 0.92)), url('assets/images/hero_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    padding: 80px 0;
}

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

.stat-box {
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-number-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number {
    letter-spacing: -1px;
}

.stat-plus {
    color: var(--primary);
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b0b7c6;
}

/* ==========================================================================
   5. FILTERABLE PORTFOLIO GALLERY
   ========================================================================== */
.portfolio-section {
    background-color: #ffffff;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    background: #f1f3f7;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.project-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--card-shadow);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 21, 30, 0.95) 0%, rgba(18, 21, 30, 0.4) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition);
}

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

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

.project-category {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.project-title {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.project-location {
    color: #c0c6d4;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-actions {
    display: flex;
    gap: 10px;
}

.project-icon-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.project-icon-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* ==========================================================================
   6. KERALA HOUSE CONSTRUCTION COST ESTIMATOR
   ========================================================================== */
.calculator-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
    color: #ffffff;
    position: relative;
}

.calculator-card {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.calc-title {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.calc-sub {
    color: #a0a6b5;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #e0e4ec;
}

.range-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-input {
    flex-grow: 1;
    height: 8px;
    border-radius: 5px;
    background: #343a4a;
    outline: none;
    accent-color: var(--primary);
}

.area-val-box {
    background: rgba(243, 156, 18, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 120px;
    text-align: center;
}

.package-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.package-btn {
    background: #2b3144;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.package-btn:hover, .package-btn.active {
    border-color: var(--primary);
    background: rgba(243, 156, 18, 0.12);
}

.package-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.package-rate {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.estimate-result-box {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15) 0%, rgba(211, 84, 0, 0.2) 100%);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
}

.result-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #e0e4ec;
    margin-bottom: 10px;
}

.result-price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 15px;
}

.result-note {
    font-size: 0.8rem;
    color: #a0a6b5;
    margin-bottom: 25px;
}

/* ==========================================================================
   7. WHY CHOOSE US & ACCORDION SECTION
   ========================================================================== */
.why-us-section {
    background-color: var(--light-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-image-box {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.why-badge-experience {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: var(--dark-bg);
    color: #ffffff;
    padding: 20px 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.exp-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.3;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.accordion-item.active {
    border-color: var(--primary);
}

.accordion-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-bg);
}

.accordion-header i {
    color: var(--primary);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

.accordion-item.active .accordion-body {
    max-height: 300px;
    padding: 0 24px 20px 24px;
}

/* ==========================================================================
   8. TESTIMONIALS & REVIEWS
   ========================================================================== */
.testimonials-section {
    background-color: #ffffff;
}

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

.testimonial-card {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: rgba(243, 156, 18, 0.4);
}

.quote-icon {
    font-size: 2rem;
    color: rgba(243, 156, 18, 0.3);
    margin-bottom: 15px;
}

.stars {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #4a5568;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.client-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.client-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   9. CTA & PROMOTION BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    padding: 60px 0;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-title {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 8px;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

/* ==========================================================================
   10. FOOTER SECTION
   ========================================================================== */
.footer {
    background-color: var(--dark-bg);
    color: #9aa1b2;
    padding-top: 80px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about p {
    margin: 20px 0;
    line-height: 1.7;
}

.footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9aa1b2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.contact-list i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.copyright-bar {
    background-color: #0c0e14;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

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

/* ==========================================================================
   11. MODAL & FLOATING WHATSAPP
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: var(--transition);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.modal-backdrop.active .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-muted);
}

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

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.12);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: var(--transition);
    }

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

    .mobile-toggle {
        display: block;
    }

    .why-grid, .calc-grid, .cta-flex {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2.2rem;
    }

    .top-bar {
        display: none;
    }

    .package-options {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .copyright-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
