/* styles.css */
:root {
    --navy-blue: #0a2342;
    --light-blue: #2d8cff;
    --white: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #333333;
    --text-gray: #666666;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: var(--navy-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-circle.small {
    width: 40px;
    height: 40px;
}

.logo-rv {
    font-size: 28px;
    font-weight: bold;
    color: var(--white);
}

.logo-circle.small .logo-rv {
    font-size: 20px;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--navy-blue);
    font-weight: 700;
}

.logo-text p {
    font-size: 12px;
    color: var(--light-blue);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--light-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-quote {
    background: var(--light-blue);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-quote:hover {
    background: var(--navy-blue);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy-blue);
    cursor: pointer;
}

body.preloader-active {
    overflow: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #061f3c 0%, #0b3566 48%, #2d8cff 100%);
    transition: opacity 0.7s ease, visibility 0.7s ease;
    overflow: hidden;
}

.preloader::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 90%);
    pointer-events: none;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    text-align: center;
    color: var(--white);
    transform: translateY(-10px);
    animation: preloadFloat 1.6s ease-in-out infinite alternate;
}

.preloader-orbit {
    position: absolute;
    left: 50%;
    top: 24%;
    width: 330px;
    height: 330px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.25);
    animation: orbitSpin 16s linear infinite;
}

.preloader-orbit span {
    position: absolute;
    top: -9px;
    left: 50%;
    width: 16px;
    height: 16px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 0 6px rgba(110, 231, 183, 0.15), 0 0 26px rgba(110, 231, 183, 0.95);
}

@keyframes orbitSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.roof-loader {
    position: relative;
    width: 220px;
    height: 150px;
    margin: 0 auto 18px;
    z-index: 1;
}

.roof-loader .roof {
    position: absolute;
    inset: 18px 30px 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(191,219,254,0.75));
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 18px 45px rgba(12, 35, 66, 0.35);
    transform-origin: top;
    animation: roofDrop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.18) 0.05s both;
}

.roof-loader .roof::before {
    content: "";
    position: absolute;
    inset: 14px 0 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(13, 52, 100, 0.15),
        rgba(13, 52, 100, 0.15) 12px,
        rgba(255,255,255,0.25) 12px,
        rgba(255,255,255,0.25) 24px
    );
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.roof-loader .house {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 120px;
    height: 72px;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.5);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 0 18px rgba(255,255,255,0.12);
    transform-origin: bottom;
    animation: houseUp 0.45s ease 0.7s both;
}

.roof-loader .door {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 28px;
    height: 42px;
    transform: translateX(-50%);
    background: rgba(8, 30, 52, 0.6);
    border-radius: 8px 8px 0 0;
    transform-origin: bottom;
    animation: doorRaise 0.4s ease 1s both;
}

@keyframes roofDrop {
    0% { transform: translateY(-54px) scaleY(0.5); opacity: 0; }
    100% { transform: translateY(0) scaleY(1); opacity: 1; }
}

@keyframes houseUp {
    0% { transform: translateX(-50%) translateY(22px) scaleY(0.35); opacity: 0; }
    100% { transform: translateX(-50%) translateY(0) scaleY(1); opacity: 1; }
}

@keyframes doorRaise {
    0% { transform: translateX(-50%) scaleY(0); }
    100% { transform: translateX(-50%) scaleY(1); }
}

.preloader-label {
    font-size: 0.78rem;
    letter-spacing: 0.38rem;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 12px;
}

.preloader-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.preloader-title span {
    background: linear-gradient(90deg, #bfe5ff, #6ee7b7, #2d8cff, #bfe5ff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: heroShine 3s linear infinite;
}

.preloader-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.preloader-percent {
    font-size: 0.95rem;
    font-weight: 700;
    color: #6ee7b7;
    min-width: 44px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.loader-bar {
    width: 210px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
}

.loader-bar span {
    display: block;
    height: 100%;
    width: 38%;
    background: linear-gradient(90deg, #ffffff, #bfe1ff, #ffffff);
    border-radius: inherit;
    animation: loadingBar 1.4s ease-in-out infinite;
}

@keyframes preloadFloat {
    0% { transform: translateY(-10px); }
    100% { transform: translateY(8px); }
}

@keyframes loadingBar {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(230%); }
}

/* Custom Roofing Cursor */
@media (pointer: fine) {
    body.custom-cursor-enabled,
    body.custom-cursor-enabled a,
    body.custom-cursor-enabled button,
    body.custom-cursor-enabled input,
    body.custom-cursor-enabled textarea,
    body.custom-cursor-enabled select {
        cursor: none;
    }
}

.custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.16s ease-out;
}

.custom-cursor--visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, transform 0.16s ease-out;
}

.custom-cursor--hover {
    transform: translate(-50%, -50%) scale(1.25);
}

.cursor-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(45, 140, 255, 0.85);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.custom-cursor--hover .cursor-ring {
    width: 46px;
    height: 46px;
    background: rgba(45, 140, 255, 0.18);
}

.cursor-roof {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 6px rgba(10, 35, 66, 0.4));
}

/* Hero Section */
.hero {
    position: relative;
    margin-top: 90px;
    padding: 110px 0 90px;
    background: linear-gradient(135deg, rgba(7, 29, 52, 0.96) 0%, rgba(11, 53, 102, 0.96) 52%, rgba(45, 140, 255, 0.92) 100%);
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(32, 201, 151, 0.18), transparent 25%),
        linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
    pointer-events: none;
}

/* Unique zig-zag "roof tile" bottom edge */
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22px;
    background: linear-gradient(rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    clip-path: polygon(0 100%, 2.5% 55%, 5% 100%, 7.5% 55%, 10% 100%, 12.5% 55%, 15% 100%, 17.5% 55%, 20% 100%, 22.5% 55%, 25% 100%, 27.5% 55%, 30% 100%, 32.5% 55%, 35% 100%, 37.5% 55%, 40% 100%, 42.5% 55%, 45% 100%, 47.5% 55%, 50% 100%, 52.5% 55%, 55% 100%, 57.5% 55%, 60% 100%, 62.5% 55%, 65% 100%, 67.5% 55%, 70% 100%, 72.5% 55%, 75% 100%, 77.5% 55%, 80% 100%, 82.5% 55%, 85% 100%, 87.5% 55%, 90% 100%, 92.5% 55%, 95% 100%, 97.5% 55%, 100% 100%);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
    opacity: 0.8;
}

/* Floating ambient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.hero-orb.orb-1 {
    width: 420px;
    height: 420px;
    background: rgba(45, 140, 255, 0.55);
    top: -120px;
    right: -80px;
    animation: orbFloat 16s ease-in-out infinite alternate;
}

.hero-orb.orb-2 {
    width: 340px;
    height: 340px;
    background: rgba(110, 231, 183, 0.35);
    bottom: -140px;
    left: -60px;
    animation: orbFloat 20s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.15); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;
}

.hero-copy {
    color: var(--white);
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-size: 12px;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 22px;
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 18px rgba(110, 231, 183, 0.9);
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero h1 span {
    color: #bfe5ff;
    background: linear-gradient(90deg, #bfe5ff, #6ee7b7, #2d8cff, #bfe5ff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: heroShine 6s linear infinite;
}

@keyframes heroShine {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

.tagline {
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    margin-bottom: 32px;
    max-width: 560px;
    color: rgba(255,255,255,0.86);
    font-style: normal;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff, #dfeeff);
    color: var(--navy-blue);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px rgba(10, 35, 66, 0.28);
}

.btn-secondary {
    background: rgba(255,255,255,0.04);
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-blue);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.hero-stat {
    min-width: 130px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
}

.hero-stat strong {
    display: block;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--white);
    margin-bottom: 4px;
}

.hero-stat span {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.roof-showcase {
    position: relative;
    width: min(100%, 430px);
    height: 430px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 30px 80px rgba(0, 20, 40, 0.36);
    backdrop-filter: blur(6px);
    overflow: hidden;
    transform: perspective(1100px) rotateY(-7deg) rotateX(2.5deg);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.roof-showcase:hover {
    transform: perspective(1100px) rotateY(0deg) rotateX(0deg);
}

/* Floating feature tiles around showcase */
.hero-tile {
    position: absolute;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(219, 234, 254, 0.85));
    border: 1px solid rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--navy-blue);
    box-shadow: 0 18px 40px rgba(2, 18, 34, 0.35);
    z-index: 3;
    animation: tileFloat 5s ease-in-out infinite;
}

.hero-tile.tile-1 {
    top: -18px;
    left: 8px;
    animation-delay: 0s;
}

.hero-tile.tile-2 {
    top: 34%;
    right: -26px;
    width: 54px;
    height: 54px;
    font-size: 22px;
    animation-delay: 1.4s;
}

.hero-tile.tile-3 {
    bottom: 12px;
    left: -22px;
    width: 50px;
    height: 50px;
    font-size: 20px;
    animation-delay: 2.6s;
}

@keyframes tileFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-16px) rotate(3deg); }
}

.roof-showcase::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.roof-scene {
    position: absolute;
    inset: 24% 9% 24% 9%;
}

.roof-scene .roof {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 118px;
    width: 84%;
    height: 112px;
    background: linear-gradient(135deg, #f8fbff 0%, #dbeafe 28%, #93c5fd 100%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    box-shadow: 0 22px 40px rgba(11, 53, 102, 0.35);
}

.roof-scene .roof::before {
    content: "";
    position: absolute;
    inset: 20px 16px 0;
    background: repeating-linear-gradient(90deg, rgba(14, 41, 84, 0.14), rgba(14, 41, 84, 0.14) 14px, rgba(255,255,255,0.2) 14px, rgba(255,255,255,0.2) 28px);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.roof-scene .house {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    width: 58%;
    height: 132px;
    background: linear-gradient(180deg, rgba(14, 41, 84, 0.9), rgba(8, 30, 52, 0.96));
    border-radius: 18px 18px 0 0;
    border: 1px solid rgba(255,255,255,0.12);
}

.roof-scene .door {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    width: 54px;
    height: 84px;
    background: rgba(110, 231, 183, 0.8);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 14px 28px rgba(2, 18, 34, 0.45);
}

.roof-card {
    position: absolute;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(8, 30, 52, 0.74);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(2, 18, 34, 0.24);
}

.roof-card.top-card {
    top: 24px;
    right: 20px;
}

.roof-card.bottom-card {
    left: 18px;
    bottom: 26px;
}

.roof-card strong {
    display: block;
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 4px;
}

.roof-card span {
    color: rgba(255,255,255,0.78);
    font-size: 0.75rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.hero-visual .pulse-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(191, 229, 255, 0.3);
    animation: pulseRing 3.5s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.9); opacity: 0.8; }
    70% { transform: scale(1.2); opacity: 0; }
    100% { opacity: 0; }
}

/* Hero animation */
.hero-copy, .hero-visual {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.9s ease forwards;
}

.hero-visual {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats {
    background: var(--gray);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 40px;
    color: var(--light-blue);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-gray);
    font-weight: 600;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--light-blue);
    margin: 20px auto;
    border-radius: 2px;
}

/* About Preview */
.about-preview {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list i {
    color: var(--light-blue);
    font-size: 20px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Products Section */
.products {
    background: var(--gray);
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-bottom-color: var(--light-blue);
}

.product-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-card-body {
    padding: 30px;
}

.product-card h3 {
    font-size: 22px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.product-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-link {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 15px;
    color: var(--navy-blue);
}

/* Process Section */
.process {
    padding: 100px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.step-icon i {
    font-size: 40px;
    color: var(--navy-blue);
}

.process-step h3 {
    font-size: 20px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    background: var(--gray);
    padding: 100px 0;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--light-blue);
}

.faq-item h3 {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Contact CTA */
.contact-cta {
    position: relative;
    background: linear-gradient(135deg, var(--navy-blue), var(--light-blue));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-image: url('../images/roofing4.jpg');
}

.contact-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.88), rgba(45, 140, 255, 0.78));
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 25px;
    color: var(--white);
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--light-blue);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.8);
}

.contact-info i {
    color: var(--light-blue);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--white);
    color: var(--navy-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--light-blue);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.float-btn:hover {
    transform: scale(1.1);
    animation: none;
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.call {
    background: var(--light-blue);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-inner {
        gap: 36px;
    }

    .hero-tile.tile-2 {
        right: -10px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 90px 0 110px;
        min-height: 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        max-width: 680px;
        margin: 0 auto;
    }

    .hero-copy {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-copy .eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        position: relative;
    }

    .roof-showcase {
        transform: none;
        margin: 0 auto;
        width: min(100%, 420px);
        height: 400px;
    }

    .hero h1 {
        font-size: clamp(30px, 5vw, 42px);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        margin-top: 90px;
        min-height: 0;
        padding: 76px 0 100px;
    }

    .hero-inner {
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(26px, 7vw, 34px);
    }

    .tagline {
        font-size: 17px;
    }

    .roof-showcase {
        width: min(100%, 360px);
        height: 330px;
    }

    .roof-scene {
        inset: 24% 9% 24% 9%;
    }

    .roof-scene .roof {
        height: 92px;
        bottom: 98px;
    }

    .roof-scene .house {
        height: 108px;
    }

    .roof-scene .door {
        width: 46px;
        height: 72px;
        bottom: 14px;
    }

    .roof-card.bottom-card {
        bottom: 16px;
    }

    .hero-tile.tile-2 {
        right: 0;
    }

    .hero-tile.tile-3 {
        left: 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-image img {
        height: 300px;
    }

    .product-image {
        height: 190px;
    }

    .work-gallery-item img {
        height: 200px;
    }

    .stats-grid,
    .products-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 18px;
    }
    
    .hero {
        padding: 64px 0 90px;
    }

    .hero-inner {
        gap: 34px;
    }

    .hero h1 {
        font-size: clamp(24px, 8vw, 28px);
        letter-spacing: -0.02em;
    }

    .tagline {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        padding: 14px 25px;
        font-size: 15px;
    }

    .hero-trust {
        gap: 12px;
    }

    .hero-stat {
        min-width: 0;
        flex: 1;
        padding: 10px 12px;
    }

    .hero-stat strong {
        font-size: 1.2rem;
    }

    .roof-showcase {
        width: min(100%, 300px);
        height: 280px;
    }

    .roof-scene {
        inset: 24% 9% 26% 9%;
    }

    .roof-scene .roof {
        height: 70px;
        bottom: 80px;
    }

    .roof-scene .house {
        height: 92px;
        bottom: 4px;
    }

    .roof-scene .door {
        width: 36px;
        height: 60px;
        bottom: 16px;
    }

    .roof-card.top-card {
        top: 14px;
        right: 10px;
    }

    .roof-card.bottom-card {
        left: 10px;
        bottom: 12px;
    }

    .roof-card strong {
        font-size: 1.2rem;
    }

    .hero-tile.tile-1 {
        width: 48px;
        height: 48px;
        font-size: 20px;
        top: -10px;
    }

    .hero-tile.tile-2 {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .hero-tile.tile-3 {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}




/* Additional CSS for About Page */
.page-header {
    margin-top: 90px;
    background: linear-gradient(135deg, var(--navy-blue), var(--light-blue));
    padding: 100px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

.about-full {
    padding: 100px 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 100px;
}

.about-section h2 {
    font-size: 32px;
    color: var(--navy-blue);
    margin-bottom: 25px;
}

.about-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.why-choose-us {
    margin-bottom: 100px;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    padding: 40px 30px;
    background: var(--gray);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-box i {
    font-size: 48px;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 22px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-gray);
    line-height: 1.6;
}

.our-team {
    text-align: center;
}

.our-team h2 {
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    padding: 40px;
    background: var(--gray);
    border-radius: 10px;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.member-avatar i {
    font-size: 60px;
    color: var(--white);
}

.team-member h3 {
    font-size: 24px;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.team-member p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.team-member i {
    color: var(--light-blue);
    margin-right: 8px;
}

/* Work Gallery (About page) */
.work-gallery {
    margin-top: 100px;
    text-align: center;
}

.work-gallery h2 {
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 50px;
}

.work-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.work-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.work-gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.work-gallery-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .about-section {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Page Styles */
.portfolio {
    padding: 80px 0;
}

.portfolio-filter {
    text-align: center;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 30px;
    margin: 0 10px 10px;
    border: 2px solid var(--light-blue);
    background: transparent;
    color: var(--light-blue);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--light-blue);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-image img,
.portfolio-item:hover .portfolio-image video {
    transform: scale(1.08);
}

.portfolio-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--navy-blue), transparent);
    color: var(--white);
    padding: 30px;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    opacity: 0.9;
}

.testimonials {
    background: var(--gray);
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--navy-blue);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--light-blue);
    font-style: normal;
    margin: 0;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}


/* Applications Page Styles */
.applications {
    padding: 100px 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.application-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border-top: 4px solid var(--light-blue);
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.app-icon i {
    font-size: 36px;
    color: var(--white);
}

.application-card h3 {
    font-size: 24px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.application-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.application-card ul {
    list-style: none;
}

.application-card ul li {
    padding: 8px 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.application-card ul li i {
    color: var(--light-blue);
}

.why-applications {
    background: var(--gray);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.why-item i {
    font-size: 48px;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.why-item h3 {
    font-size: 22px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.why-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .applications-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box,
.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-info-box h2,
.contact-form-box h2 {
    font-size: 28px;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.contact-info-box > p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 18px;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.info-item p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray);
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--light-blue);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--navy-blue);
    transform: translateY(-2px);
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
    display: none;
}

.form-status.success {
    display: block;
    background: #e6f7ee;
    color: #1b7a43;
    border: 1px solid #a9e0c2;
}

.form-status.error {
    display: block;
    background: #fdeeee;
    color: #b0252b;
    border: 1px solid #f2c1c3;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #e0393f;
}

.map-section {
    padding: 0 0 100px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-directions,
.btn-view-map {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.btn-directions {
    background: var(--light-blue);
}

.btn-directions:hover {
    background: var(--navy-blue);
    transform: translateY(-2px);
}

.btn-view-map {
    background: var(--navy-blue);
}

.btn-view-map:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .map-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-directions,
    .btn-view-map {
        width: 100%;
        justify-content: center;
    }
}

.faq-contact {
    background: var(--gray);
    padding: 100px 0;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}