/* ===================================
   Connecticut House - Custom CSS
   Color Scheme: Teal/Green & Orange
   =================================== */

:root {
    --primary-color: #166534;
    --secondary-color: #15803d;
    --accent-color: #4ade80;
    --dark-color: #052e16;
    --light-color: #f0fdf4;
    --text-color: #1a2e1a;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #052e16 0%, #166534 100%);
    --gradient-secondary: linear-gradient(135deg, #166534 0%, #15803d 100%);
    --shadow-sm: 0 2px 8px rgba(5, 46, 22, 0.10);
    --shadow-md: 0 4px 16px rgba(5, 46, 22, 0.16);
    --shadow-lg: 0 8px 32px rgba(5, 46, 22, 0.24);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   Top Bar
   =================================== */
.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.85rem;
}

.top-info span {
    margin-right: 25px;
    display: inline-block;
}

.top-info i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.social-top a {
    color: var(--white);
    margin-left: 15px;
    font-size: 1rem;
    transition: all 0.3s;
}

.social-top a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}
.top-phone-number {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-bottom: 1.5px solid var(--accent-color);
    padding-bottom: 1px;
    transition: opacity 0.2s ease;
}

.top-phone-number:hover {
    opacity: 0.8;
    color: var(--accent-color);
}
/* ===================================
   Navbar
   =================================== */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.brand-text .highlight {
    color: var(--secondary-color);
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    background-color: var(--secondary-color);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
    text-transform: uppercase;
	text-align:center;
}

.brand-tagline .highlight {
    color: var(--secondary-color);
}
.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(5, 150, 105, 0.1);
}

.btn-nav {
    background: var(--gradient-secondary);
    color: var(--white) !important;
    padding: 0.6rem 1.8rem !important;
    border-radius: 50px;
    font-weight: 600;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
}
.hero-diagonal {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.1;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}
.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 1.2s ease;
}
.hero-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 35px;
    line-height: 1.8;
    animation: fadeInUp 1.4s ease;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.btn-hero-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
    color: var(--white);
}
.btn-hero-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-hero-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Hero Form */
.hero-form-overlay {
    position: relative;
    z-index: 2;
    padding: 10px 0;
}
.hero-form-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid rgba(5, 150, 105, 0.1);
}
.form-card-header {
    background: var(--gradient-primary);
    padding: 25px 30px;
    text-align: center;
    color: var(--white);
}
.form-card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}
.form-card-header h3 i {
    margin-right: 8px;
}
.form-card-header p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}
.quick-offer-form {
    padding: 25px 30px;
    position: relative;
}
.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.quick-offer-form .form-group {
    margin-bottom: 12px;
}
.quick-offer-form .form-control,
.quick-offer-form .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    background: #f8fafc;
    color: var(--dark-color);
}
.quick-offer-form .form-control:focus,
.quick-offer-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    background: var(--white);
    outline: none;
}
.quick-offer-form textarea.form-control {
    resize: none;
}
.form-check-label {
    font-size: 0.85rem;
    color: var(--text-color);
}
.btn-form-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
    color: var(--white);
}
.form-privacy {
    font-size: 0.78rem;
    color: var(--text-color);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
    opacity: 0.8;
}
.form-privacy i {
    margin-right: 4px;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.4rem;
    }
    .hero-form-overlay {
        margin-top: 40px;
    }
}
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .form-row-split {
        grid-template-columns: 1fr;
    }
    .quick-offer-form {
        padding: 20px 15px;
    }
    .form-card-header {
        padding: 20px 15px;
    }
}

/* ===================================
   CTA Banner
   =================================== */
.cta-banner {
    background: var(--gradient-secondary);
    padding: 40px 0;
    margin: 80px 0;
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.cta-icon i {
    font-size: 3rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

.cta-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-phone {
    display: block;
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-phone:hover {
    color: var(--dark-color);
}

.btn-cta-white {
    background: var(--white);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.btn-cta-white:hover {
    background: var(--dark-color);
    color: var(--white);
    transform: translateY(-3px);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===================================
   Section Headers
   =================================== */
.section-badge {
    display: inline-block;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Founder Section
   =================================== */
.founder-section {
    padding: 30px 0;
    background: var(--white);
}

.founder-image-container {
    position: relative;
}

.founder-bg-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: 0;
}

.founder-img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: 30px;
    background: var(--white);
    padding: 25px 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
}

.experience-badge h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 5px;
}

.experience-badge p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.founder-bio {
    padding-left: 0;
}

.founder-name {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.founder-position {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.founder-bio p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.signature-img {
    margin: 30px 0;
}

.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.founder-credentials span {
    background: rgba(5, 150, 105, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.founder-credentials i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* ===================================
   Process Section
   =================================== */
.process-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
}

.process-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    border: 3px solid transparent;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.process-card.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
}

.process-card.active h3,
.process-card.active p,
.process-card.active li {
    color: var(--white);
}

.process-card.active .process-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.process-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
}

.process-icon {
    width: 90px;
    height: 90px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 2.5rem;
    transition: all 0.3s;
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.process-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.process-features {
    list-style: none;
    padding: 0;
}

.process-features li {
    padding: 8px 0;
    font-size: 0.95rem;
}

.process-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.process-card.active .process-features i {
    color: var(--white);
}

/* ===================================
   Video Section
   =================================== */
.video-section {
    padding: 100px 0;
    background: var(--dark-color);
}
.video-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    padding: 50px 40px;
}
.video-content {
    text-align: center;
    margin-bottom: 40px;
}
.video-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.video-content p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Video Cards */
.video-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--dark-color);
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.video-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.55);
}
.play-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.video-card:hover .play-btn {
    transform: scale(1.1);
}
.video-card-body {
    padding: 15px;
}
.video-card-body h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--white);
}

/* Remove old iframe wrapper — no longer needed */
.video-wrapper {
    display: none;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits-section {
    padding: 100px 0;
    background: var(--white);
}

.benefit-box {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    border: 3px solid transparent;
}

.benefit-box:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon-wrap {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2.8rem;
    transition: all 0.4s;
}

.benefit-box:hover .benefit-icon-wrap {
    background: var(--gradient-secondary);
    transform: rotateY(360deg);
}

.benefit-box h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.benefit-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-color);
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.testimonial-author h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 25px 30px;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23059669'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 30px;
    background: var(--white);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
}
.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}
.contact-info > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-color);
}
.contact-details {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}
.contact-item:last-child {
    margin-bottom: 0;
}
.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}
.contact-item h5 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}
.contact-item p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}
.contact-form-wrapper {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Form Controls - Regular & Floating */
.contact-form .form-control,
.contact-form .form-select,
.contact-form select {
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f8fafc;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus,
.contact-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.15);
    background-color: var(--white);
}

/* Floating Labels */
.contact-form .form-floating > label {
    color: var(--text-color);
    font-size: 0.95rem;
    padding: 15px 20px;
}
.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.contact-form .form-floating > .form-select ~ label {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Radio & Checkbox */
.contact-form .form-check {
    padding-left: 1.8rem;
    margin-bottom: 8px;
}
.contact-form .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 2px solid #cbd5e1;
    cursor: pointer;
}
.contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.contact-form .form-check-label {
    font-size: 0.98rem;
    color: var(--text-color);
    cursor: pointer;
    padding-left: 6px;
}

/* Form Labels */
.contact-form .form-label {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 0.98rem;
}

/* Section Headers */
.form-section-header {
    background: linear-gradient(135deg, var(--primary-color), #047857);
    padding: 14px 20px;
    border-radius: 10px;
    margin: 30px 0 20px;
}
.form-section-header h4 {
    color: var(--white);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.form-section-header h4 i {
    margin-right: 8px;
}

/* Submit Button */
.btn-submit {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 10px;
}
.btn-submit:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
    color: var(--white);
}

/* Privacy / Disclaimer */
.form-privacy,
.form-disclaimer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--text-color);
    line-height: 1.6;
}
.form-privacy i,
.form-disclaimer i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Textarea */
.contact-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .contact-details {
        padding: 30px 20px;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-about h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h5,
.footer-contact h5 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--gradient-secondary);
    transform: translateY(-5px);
    color: var(--white);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-float-card {
        position: static;
        margin-top: 30px;
    }
    
    .founder-bg-shape {
        top: -10px;
        right: -10px;
    }
    
    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }
    
    .top-info span {
        display: block;
        margin: 5px 0;
    }
    
    .social-top {
        margin-top: 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: space-around;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-phone {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 25px;
    }
}