@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroText {
    from { opacity: 0; transform: translateY(50px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.animate-text { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.slide-in-left { opacity: 0; transform: translateX(-50px); transition: all 0.6s ease; }
.slide-in-left.visible { opacity: 1; transform: translateX(0); }

/* ── Navigation ── */
nav {
    position: fixed;
    width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 65px;
    position: relative;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #6B4423;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 1100;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #6B4423;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-links {
    display: flex;
    gap: 0.3rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.nav-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.82rem;
    transition: all 0.2s ease;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
}
.nav-links a:hover { color: #1e4620; background: rgba(30,70,32,0.08); }

/* SSC Dropdown */
.ssc-dropdown { position: relative; }
.ssc-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 190px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 0.4rem 0;
    z-index: 2000;
}
@media (min-width: 769px) {
    .ssc-dropdown:hover .ssc-submenu { display: block; }
}
.ssc-submenu li a {
    display: block;
    padding: 0.55rem 1.1rem;
    color: #374151;
    font-size: 0.82rem;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
}
.ssc-submenu li:last-child a { border-bottom: none; }
.ssc-submenu li a:hover { background: #f0fdf4; color: #1e4620; }

/* ── Hero ── */
.hero {
    min-height: 100vh;
    background: #6B4423;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 4rem;
    position: relative;
}
.hero-content {
    max-width: 900px;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: heroText 1s ease forwards;
    color: white;
}
.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: white;
    animation: heroText 1s ease 0.3s forwards;
    animation-fill-mode: both;
    opacity: 0;
    font-weight: 600;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #1e4620;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(30,70,32,0.3);
    animation: heroText 1s ease 0.6s forwards;
    animation-fill-mode: both;
    opacity: 0;
}
.btn:hover { background: #0f2910; transform: translateY(-2px); }

/* ── Sections ── */
section { padding: 1.5rem 1.5rem; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 1rem; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: #1f2937; margin-bottom: 0.3rem; }
.section-header h3 { font-size: 1.4rem; color: #1e4620; margin: 0.3rem 0; font-weight: 700; }
.section-header p { font-size: 1rem; color: #6b7280; max-width: 700px; margin: 0 auto; }

/* ── Feature Grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 1rem; }
.feature {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #1e4620;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.feature:hover::before { transform: scaleX(1); }
.feature:hover { transform: translateY(-4px); box-shadow: 0 15px 25px rgba(0,0,0,0.1); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.feature h3 { font-size: 1.2rem; font-weight: 700; color: #1f2937; margin-bottom: 0.3rem; }
.feature p { color: #6b7280; font-size: 1rem; line-height: 1.5; font-weight: 600; }

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-top: 1rem; }
.card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 15px 25px rgba(0,0,0,0.1); }
.card img, .card video { width: 100%; height: auto; display: block; }
.card-body { padding: 1.2rem; }
.card h3 { font-size: 1.3rem; font-weight: 700; color: #1f2937; margin-bottom: 0.5rem; }
.card p { color: #6b7280; font-size: 1.05rem; line-height: 1.6; }

/* ── SSC Sections ── */
.ssc-section { padding: 1.5rem 1.5rem; }
.ssc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.ssc-grid img { width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.ssc-content h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.6rem; line-height: 1.2; }
.ssc-content h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.ssc-content p  { font-size: 1.1rem; line-height: 1.6; margin-bottom: 0.4rem; font-weight: 600; }

.ssc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    max-width: 1100px;
    margin: 1rem auto 0;
}
.ssc-card {
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.05rem;
    line-height: 1.5;
}
.ssc-card strong { font-size: 1.1rem; display: block; margin-bottom: 0.3rem; font-weight: 700; }
.ssc-card span, .ssc-card p { font-size: 1rem; font-weight: 600; }
.ssc-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

.ssc-center-img { text-align: center; margin-bottom: 1rem; }
.ssc-center-img img { width: 50%; border-radius: 14px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }

.ssc-steps { max-width: 700px; margin: 1rem auto 0; }
.ssc-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.6rem;
    background: white;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,119,182,0.07);
}
.ssc-step-num {
    background: #0077b6;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ssc-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    max-width: 700px;
    margin: 1rem auto 0;
}
.ssc-benefit {
    background: #e0f7fa;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: #0077b6;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ── Footer ── */
footer { background: #1f2937; color: white; padding: 1.5rem 1.5rem 1rem; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}
.footer-col h4 { margin-bottom: 0.8rem; font-size: 1rem; font-weight: 600; color: #1e4620; }
.footer-col a { display: block; color: #9ca3af; text-decoration: none; margin-bottom: 0.4rem; font-size: 0.875rem; transition: color 0.3s ease; }
.footer-col a:hover { color: #1e4620; }
.footer-col p { color: #9ca3af; font-size: 0.875rem; line-height: 1.6; }
.footer-bottom { text-align: center; padding-top: 1.2rem; border-top: 1px solid #374151; color: #9ca3af; font-size: 0.8rem; }

/* ── Forms ── */
form { max-width: 600px; margin: 0 auto; background: white; padding: 1.2rem; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #e5e7eb; }
input, textarea { width: 100%; padding: 0.8rem; margin-bottom: 1rem; border: 1px solid #d1d5db; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: border-color 0.3s ease; }
input:focus, textarea:focus { outline: none; border-color: #1e4620; box-shadow: 0 0 0 3px rgba(30,70,32,0.1); }
textarea { height: 110px; resize: vertical; }
form .btn { width: 100%; background: #1e4620; color: white; margin-top: 0.5rem; animation: none; opacity: 1; }
form .btn:hover { background: #0f2910; }

/* ── Inline style overrides for all sections ── */
* { font-weight: 600; }
[style*="font-size: 1.8rem"] { font-size: 1.15rem !important; line-height: 1.7 !important; }
[style*="font-size: 1.5rem"] { font-size: 1.1rem !important; }
[style*="font-size: 2.2rem"] { font-size: 1.4rem !important; }
[style*="font-size: 2rem"]   { font-size: 1.3rem !important; }
[style*="font-size: 2.5rem"] { font-size: 1.5rem !important; }
[style*="font-size: 3rem"]   { font-size: 1.7rem !important; }
[style*="font-size: 3.5rem"] { font-size: 1.8rem !important; }
[style*="font-size: 1.4rem"] { font-size: 1.1rem !important; }
[style*="font-size: 1.3rem"] { font-size: 1.05rem !important; }
[style*="font-size: 1.2rem"] { font-size: 1.05rem !important; }
[style*="font-size: 1.1rem"] { font-size: 1.05rem !important; }


/* Left align all content */
.ssc-card, .ssc-step, .card-body, .feature { text-align: left; }
.ssc-content { text-align: left; }
p, h3, h4 { text-align: left; }

/* ── Tablet ── */
@media (max-width: 992px) {
    .ssc-cards { grid-template-columns: repeat(2, 1fr); }
    .ssc-grid  { gap: 2rem; }
}

/* ── Mobile ── */
@media (max-width: 768px) {

    body { font-size: 0.9rem; }

    /* Navbar */
    .hamburger { display: flex; }
    .nav-container { padding: 0 1rem; height: 60px; }
    .logo { font-size: 0.85rem; letter-spacing: 0.5px; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 0.3rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
        gap: 0;
        z-index: 999;
        max-height: 75vh;
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
        background: none;
        color: #374151;
        white-space: normal;
    }
    .nav-links a:hover { background: #f9fafb; }

    .ssc-submenu {
        display: none;
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: #e0f7fa;
        width: 100%;
        min-width: unset;
    }
    .ssc-dropdown.open > .ssc-submenu { display: block; }
    .ssc-submenu li { width: 100%; }
    .ssc-submenu li a {
        padding: 0.6rem 1.2rem 0.6rem 2.2rem;
        font-size: 0.85rem;
        background: #e0f7fa;
        color: #0077b6;
        border-bottom: 1px solid #b3e5fc;
    }

    /* Hero */
    .hero { padding: 5rem 1rem 2rem; min-height: auto; }
    .hero h1 { font-size: 1.4rem !important; line-height: 1.3; }
    .hero p  { font-size: 0.9rem !important; margin-bottom: 1rem; }
    .btn { padding: 0.65rem 1.2rem; font-size: 0.85rem; }

    /* Sections */
    section { padding: 1.8rem 1rem; }
    .section-header h2 { font-size: 1.3rem; }
    .section-header h3 { font-size: 1rem; }
    .section-header p  { font-size: 0.875rem; }

    /* Grids */
    .feature-grid, .cards, .ssc-cards, .ssc-benefits { grid-template-columns: 1fr; }
    .ssc-grid { grid-template-columns: 1fr !important; gap: 1.2rem; }
    .ssc-section { padding: 1.8rem 1rem; }
    .ssc-card { padding: 1rem; font-size: 0.875rem; }
    .ssc-card strong { font-size: 0.9rem; }
    .ssc-card span, .ssc-card p { font-size: 1rem; }
    .ssc-content h2 { font-size: 1.2rem !important; }
    .ssc-content h3 { font-size: 1rem !important; }
    .ssc-content p  { font-size: 0.9rem !important; }
    .ssc-center-img img { width: 100%; }
    .ssc-step { padding: 0.8rem 1rem; }
    .ssc-step-num { width: 32px; height: 32px; font-size: 0.85rem; }
    .ssc-benefit { font-size: 0.82rem; padding: 0.6rem 0.8rem; }

    /* Inline styles override */
    div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 1rem !important; }
    #galleryGrid { grid-template-columns: 1fr !important; }
    img { max-width: 100%; height: auto !important; }

    /* Font overrides */
    [style*="font-size: 1.8rem"] { font-size: 0.9rem !important; line-height: 1.6 !important; }
    [style*="font-size: 1.5rem"] { font-size: 0.875rem !important; }
    [style*="font-size: 2.2rem"] { font-size: 1.1rem !important; }
    [style*="font-size: 2rem"]   { font-size: 1rem !important; }
    [style*="font-size: 2.5rem"] { font-size: 1.1rem !important; }
    [style*="font-size: 3rem"]   { font-size: 1.2rem !important; }
    [style*="font-size: 3.5rem"] { font-size: 1.3rem !important; }
    [style*="font-size: 1.4rem"] { font-size: 0.875rem !important; }
    [style*="font-size: 1.3rem"] { font-size: 0.85rem !important; }
    [style*="font-size: 1.2rem"] { font-size: 0.85rem !important; }
    [style*="font-size: 1.1rem"] { font-size: 0.85rem !important; }

    /* clamp overrides */
    [style*="clamp"] { font-size: 0.9rem !important; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    footer { padding: 1.5rem 1rem 1rem; }

    /* Forms */
    form { padding: 1.2rem 1rem; margin: 0; }
    input, textarea { font-size: 0.875rem; padding: 0.65rem; }
}
