/* Prime Insulation Website Main Styles */
:root {
    --primary-blue: #6ec1e4;
    --secondary-blue: #256fa1;
    --white: #ffffff;
    --dark: #222831;
    --accent: #1e90ff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
    background: var(--primary-blue);
    color: var(--dark);
    min-height: 100vh;
}

section, .container {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.9s cubic-bezier(.23,1.01,.32,1) forwards;
}
section:nth-of-type(1), .container:nth-of-type(1) { animation-delay: 0.1s; }
section:nth-of-type(2), .container:nth-of-type(2) { animation-delay: 0.2s; }
section:nth-of-type(3), .container:nth-of-type(3) { animation-delay: 0.3s; }
section:nth-of-type(4), .container:nth-of-type(4) { animation-delay: 0.4s; }
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
    color: var(--dark);
    margin-bottom: 0.5em;
    letter-spacing: 0.5px;
}
h2.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.3em;
    margin-bottom: 1.5em;
}
h2.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-blue));
    border-radius: 2px;
    margin: 0.5em auto 0 auto;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--secondary-blue);
}

/* Layout Containers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(34, 40, 49, 0.05);
    padding: 0.5rem 0;
    position: relative;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--secondary-blue);
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 100;
}
.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.main-nav {
    display: flex;
    align-items: center;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    font-weight: 500;
    color: var(--dark);
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.nav-links li a:hover, .nav-links li a.active {
    background: var(--primary-blue);
    color: var(--secondary-blue);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(120deg, var(--primary-blue) 80%, var(--white) 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 0 2rem 0;
}
.hero-content {
    text-align: center;
    margin-top: 2.5rem;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--dark);
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.2rem;
    color: var(--secondary-blue);
}
.scroll-indicator {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}
.scroll-indicator span {
    display: block;
    width: 28px;
    height: 28px;
    border: 2.5px solid var(--accent);
    border-radius: 50%;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 1.2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(12px) rotate(45deg); }
}

/* Hero SVG Wave */
.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    display: block;
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg width="100%25" height="80" viewBox="0 0 1440 80" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h1440v40c-240 40-480 40-720 0S240 0 0 40V0z" fill="%23fff"/></svg>') no-repeat bottom center/cover;
    z-index: 2;
}
.hero-section .container {
    position: relative;
    z-index: 3;
}
.hero-section::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: linear-gradient(120deg,rgba(110,193,228,0.18) 60%,rgba(255,255,255,0.12) 100%);
    z-index: 1;
    pointer-events: none;
}

/* About Section */
.about-hero-section {
    background: linear-gradient(120deg, var(--primary-blue) 80%, var(--white) 100%);
    padding: 4rem 0 2.5rem 0;
    text-align: center;
}
.about-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.7rem;
}
.about-hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-blue);
    margin-bottom: 0;
}
.about-story-section {
    margin-top: 2.5rem;
}
.about-story-flex {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.about-story-img {
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-story-img img {
    width: 100%;
    max-width: 220px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(34, 40, 49, 0.10);
    background: var(--primary-blue);
}
.about-story-text {
    flex: 2 1 320px;
    min-width: 220px;
}
.about-story-text h2 {
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}
.about-mission-section {
    margin-top: 3.5rem;
    text-align: center;
}
.mission-vision-flex {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.mission-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(34, 40, 49, 0.07);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    flex: 1 1 220px;
    max-width: 320px;
    min-width: 220px;
    text-align: center;
}
.mission-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.about-founder-section {
    margin-top: 3.5rem;
}
.founder-flex {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.founder-img {
    flex: 1 1 180px;
    min-width: 120px;
    max-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.founder-img img {
    width: 100%;
    max-width: 120px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(34, 40, 49, 0.10);
    background: var(--primary-blue);
}
.founder-text {
    flex: 2 1 320px;
    min-width: 220px;
    text-align: left;
}
.founder-text h2 {
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}
.founder-name {
    color: var(--accent);
    font-weight: 600;
    margin-top: 1.2rem;
}
@media (max-width: 900px) {
    .about-story-flex, .mission-vision-flex, .founder-flex {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .about-story-text, .founder-text {
        text-align: center;
    }
}

/* Products Preview */
.products-preview {
    margin-top: 3.5rem;
    text-align: center;
}
.products-preview h2 {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
}
.products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 0;
    justify-content: center;
}
.product-item {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(34, 40, 49, 0.07);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    flex: 1 1 250px;
    max-width: 320px;
    min-width: 220px;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s;
}
.product-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.13);
}
.product-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(34, 40, 49, 0.10);
}
.products-list h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Contact Preview */
.contact-preview {
    margin-top: 3.5rem;
    text-align: center;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(34, 40, 49, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.contact-preview h2 {
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}
.contact-preview p {
    color: var(--dark);
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(34, 40, 49, 0.07);
    padding: 2rem 2rem 1.5rem 2rem;
    max-width: 450px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form label {
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: var(--secondary-blue);
}
.contact-form input,
.contact-form textarea {
    padding: 0.7rem;
    border: 1px solid #b3d8ef;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.success-msg {
    color: #1ca94c;
    background: #eafaf1;
    border: 1px solid #b6e7c9;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
}
.error-msg {
    color: #d7263d;
    background: #fff0f3;
    border: 1px solid #f5b7b1;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--secondary-blue);
    color: var(--white);
    text-align: center;
    padding: 1.2rem 0;
    margin-top: 3rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(34, 40, 49, 0.05);
}

.why-choose-section {
    margin-top: 3.5rem;
    text-align: center;
}
.why-choose-section h2 {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
}
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.feature-item {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(34, 40, 49, 0.07);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 180px;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s;
}
.feature-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.13);
}
.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}
.features-list h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.products-hero-section {
    background: linear-gradient(120deg, var(--primary-blue) 80%, var(--white) 100%);
    padding: 4rem 0 2.5rem 0;
    text-align: center;
}
.products-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.7rem;
}
.products-hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-blue);
    margin-bottom: 0;
}
.products-main-section {
    margin-top: 2.5rem;
}
.products-cta-section {
    margin-top: 3.5rem;
    text-align: center;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(34, 40, 49, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.products-cta-section h2 {
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}
.products-cta-section p {
    color: var(--dark);
    margin-bottom: 2rem;
}

.contact-hero-section {
    background: linear-gradient(120deg, var(--primary-blue) 80%, var(--white) 100%);
    padding: 4rem 0 2.5rem 0;
    text-align: center;
}
.contact-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.7rem;
}
.contact-hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-blue);
    margin-bottom: 0;
}
.contact-main-section {
    margin-top: 2.5rem;
}
.contact-flex {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}
.contact-form-wrap {
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 420px;
}
.contact-info {
    flex: 1 1 220px;
    min-width: 200px;
    max-width: 320px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(34, 40, 49, 0.07);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    margin-top: 1.5rem;
}
.contact-info h2 {
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}
.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--dark);
    font-size: 1.05rem;
}
.contact-info li {
    margin-bottom: 1rem;
}

.cta-btn {
    background: linear-gradient(90deg, var(--accent), var(--secondary-blue));
    color: var(--white);
    padding: 0.9rem 2.4rem;
    border: none;
    border-radius: 25px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(30, 144, 255, 0.13);
    transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}
.cta-btn:hover {
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent));
    box-shadow: 0 6px 24px rgba(30, 144, 255, 0.18);
    transform: scale(1.05);
    filter: brightness(1.08);
}
.secondary-btn {
    background: var(--white);
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 0.7rem 1.7rem;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    transition: background 0.2s, color 0.2s, transform 0.18s;
    font-size: 1.05rem;
}
.secondary-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}
.product-item, .feature-item, .mission-card, .contact-info {
    transition: box-shadow 0.18s, transform 0.18s;
}
.product-item:hover, .feature-item:hover, .mission-card:hover, .contact-info:hover {
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.13);
    transform: translateY(-6px) scale(1.03);
}

.about-img-home {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(34, 40, 49, 0.10);
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.about-img-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}
.about-img-row .about-img-home {
    max-width: 320px;
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(34, 40, 49, 0.10);
}
@media (max-width: 800px) {
    .about-img-row {
        flex-direction: column;
        gap: 1.2rem;
    }
    .about-img-row .about-img-home {
        max-width: 90vw;
        height: auto;
    }
}

/* Scrollable Horizontal Navigation Bar for Mobile */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .main-nav.scroll-nav {
        width: 100%;
        margin-top: 0.5rem;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        width: 100%;
        background: var(--white);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(34,40,49,0.07);
        padding: 0.2rem 0;
        scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar {
        display: none;
    }
    .nav-links li {
        flex: 0 0 auto;
    }
    .nav-links li a {
        display: block;
        padding: 0.9rem 1.2rem;
        font-size: 1.1rem;
        border-radius: 0;
        border: none;
        background: none;
        color: var(--dark);
        white-space: nowrap;
        transition: background 0.2s, color 0.2s;
    }
    .nav-links li a:hover, .nav-links li a.active {
        background: var(--primary-blue);
        color: var(--secondary-blue);
        border-radius: 6px;
    }
}
@media (min-width: 769px) {
    .nav-container {
        flex-direction: row;
        align-items: center;
        gap: initial;
    }
    .main-nav.scroll-nav {
        width: auto;
        margin-top: 0;
    }
    .nav-links {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        margin-top: 0;
        background: none;
        position: static;
        box-shadow: none;
        padding: 0;
        overflow: visible;
    }
    .nav-links li a {
        border-bottom: none;
        border-radius: 4px;
        padding: 0.5rem 0.8rem;
    }
}
/* Bottom nav styling */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden on desktop */
    z-index: 1000;
}

.bottom-nav-list {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
}

.bottom-nav-item {
    text-align: center;
}

.bottom-nav-link {
    text-decoration: none;
    color: #007BFF;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-nav-link i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

/* Show bottom nav only on screens below 768px */
@media (max-width: 768px) {
    .bottom-nav {
        display: block;
    }
}
