/* ===================================
   KIPTABS BUSINESS — style.css
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* === VARIABLES === */
:root {
    --navy:       #2a3f54;
    --navy-dark:  #1c2d3d;
    --navy-light: #3d5670;
    --green:      #008751;
    --green-light:#00a362;
    --white:      #ffffff;
    --off-white:  #f7f8fa;
    --light-grey: #eef0f3;
    --mid-grey:   #9aa5b4;
    --dark-grey:  #3c4858;
    --text:       #1a2533;
    --text-light: #5a6a7a;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --radius:  10px;
    --radius-lg: 18px;
    --shadow:  0 4px 24px rgba(42, 63, 84, 0.10);
    --shadow-lg: 0 12px 48px rgba(42, 63, 84, 0.16);

    --transition: 0.28s cubic-bezier(.4,0,.2,1);
    --container:  1120px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-family: var(--font-display); font-style: italic; }

/* === CONTAINER === */
.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}
.section { padding: 96px 0; }
.centered { text-align: center; }

/* === TYPOGRAPHY === */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1.5rem;
}
.section-header.centered .section-title { margin-bottom: 0.5rem; }
.section-header.centered { margin-bottom: 3.5rem; }
.sub-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.btn-primary:hover {
    background: var(--green-light);
    border-color: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,135,81,0.30);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }
.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white);
}

/* === HEADER / NAV === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
    background: var(--navy-dark);
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
    padding: 0.65rem 0;
}
.header-inner {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.brand-logo { height: 32px; width: auto; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: 0.01em;
}
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.main-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}
.main-nav a.nav-cta {
    background: var(--green);
    color: var(--white);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
}
.main-nav a.nav-cta:hover {
    background: var(--green-light);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-video-wrap {
    position: absolute;
    inset: 0;
}
.hero-video-wrap video {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,37,51,0.82) 0%, rgba(42,63,84,0.60) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 80px;
}
.hero-eyebrow {
    display: inline-block;
    background: rgba(0,135,81,0.25);
    color: #5de0a7;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(0,135,81,0.4);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease both;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1;
    color: var(--white);
    margin-bottom: 1.25rem;
    animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title em {
    color: #5de0a7;
    display: block;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.80);
    max-width: 540px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeUp 0.8s 0.30s ease both;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.45s ease both;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-line {
    display: block;
    width: 1.5px;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
    animation: scrollPulse 2s infinite;
}

/* === TWO-COL LAYOUT === */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.col-text p { color: var(--text-light); margin-bottom: 1rem; }
.col-text p strong { color: var(--text); }
.col-text .btn { margin-top: 0.5rem; }

.media-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.media-frame::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: calc(var(--radius-lg) + 6px);
    border: 1.5px solid rgba(42,63,84,0.12);
    pointer-events: none;
    z-index: -1;
}
.media-frame img { width: 100%; display: block; }

/* === INTRO SECTION === */
.intro-section { background: var(--white); }

/* === FEATURES === */
.features-section { background: var(--off-white); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.feature-img {
    height: 200px;
    overflow: hidden;
}
.feature-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.feature-card:hover .feature-img img { transform: scale(1.05); }
.feature-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.feature-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.feature-icon i {
    color: var(--white);
    font-size: 1.1rem;
}
.feature-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
}
.feature-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* === BILLBOARD === */
.billboard {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}
.billboard-bg {
    position: absolute;
    inset: 0;
    background: url(images/background.png) center center / cover no-repeat;
    filter: brightness(0.25);
}
.billboard-content {
    position: relative;
    z-index: 2;
}
.billboard-eyebrow {
    display: inline-block;
    color: #5de0a7;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.billboard-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 2rem;
}

/* === GO GREEN === */
.gogreen-section { background: var(--white); }
.motto {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    color: var(--navy);
    font-style: italic;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto 3rem;
    border: none;
    padding: 0;
}
.gogreen-img {
    max-width: 860px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.gogreen-img img { width: 100%; }

/* === ABOUT === */
.about-section { background: var(--off-white); }
.divider-line {
    width: 48px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
    margin: 2rem 0;
}

/* === SOCIAL === */
.social-section { background: var(--navy); padding: 80px 0; }
.social-section .section-title { color: var(--white); }
.social-tags {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.06em;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}
.social-icons a {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    transition: all var(--transition);
}
.social-icons a:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-3px);
}

/* === FOOTER === */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.70);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer-logo { width: 180px; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.88rem; margin-bottom: 1.5rem; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
    color: rgba(255,255,255,0.65);
}
.footer-contact-list i { margin-top: 4px; color: var(--green); min-width: 14px; }

.footer-links h5,
.footer-contact-form h5 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.footer-links ul li { margin-bottom: 0.6rem; }
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.60);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

/* Footer form */
.footer-contact-form form { display: flex; flex-direction: column; gap: 0.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.footer-contact-form input,
.footer-contact-form textarea {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-body);
    font-size: 0.88rem;
    width: 100%;
    transition: border-color var(--transition);
}
.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
    outline: none;
    border-color: var(--green);
}
.footer-contact-form textarea { resize: vertical; min-height: 100px; }

.form-result {
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}
.form-result.success { background: rgba(0,135,81,0.2); color: #5de0a7; border: 1px solid rgba(0,135,81,0.4); }
.form-result.error   { background: rgba(220,53,69,0.15); color: #ff8a95; border: 1px solid rgba(220,53,69,0.3); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.40);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* === ANIMATIONS === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.2); }
}
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
    .col-media { order: -1; }
    .media-frame--right { order: -1; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }

    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--navy-dark);
        padding: 1rem 0;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 0 1.5rem; }
    .main-nav li { border-bottom: 1px solid rgba(255,255,255,0.07); }
    .main-nav a { display: block; padding: 0.85rem 0; border-radius: 0; }
    .main-nav a.nav-cta { margin: 0.75rem 0; border-radius: 6px; text-align: center; }
    .site-header { position: relative; background: var(--navy-dark); }
    .hero { height: 90vh; }
    .hero-title { font-size: clamp(2.8rem, 10vw, 5rem); }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }
    .social-icons a { width: 44px; height: 44px; font-size: 0.95rem; }
    .motto { font-size: 1.4rem; }
}
