:root {
    /* Comfort Point Brand Colors */
    --primary: #FF7550; /* Coral Orange */
    --primary-hover: #e05e3b;
    --secondary: #2BD2D2; /* Aqua / Cyan */
    --secondary-hover: #1fbab5;
    --dark-teal: #008080; /* Dark Teal */
    
    --text-dark: #2d3748;
    --text-light: #ffffff;
    --text-grey: #718096;
    
    --bg-light: #f4f6f7;
    --bg-white: #ffffff;
    --bg-dark: #1a202c;
    --brand-dark: #ffffff;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Base Buttons mimicking ECI style */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* Top Utility Bar */
.top-bar {
    background-color: var(--dark-teal);
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--text-light);
    margin-left: 15px;
}

.top-bar a:hover {
    color: var(--bg-dark);
}

.top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-left i {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Main Header */
.main-header {
    background-color: var(--brand-dark);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.brand-logo {
    max-height: 80px;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.desktop-nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('assets/img/hero.png');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    max-width: 600px;
    border-left: 5px solid var(--primary);
    color: var(--text-light);
}

.hero-tagline {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--secondary);
    display: block;
    margin-bottom: 15px;
}

.hero-text-box h1 {
    color: var(--text-light);
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text-box h1 span {
    color: var(--primary);
}

.hero-text-box p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Services section */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.services-intro h2 {
    font-size: 36px;
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #eaeaea;
    border-top: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.card-icon i {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 24px;
    color: var(--bg-dark);
}

.service-card p {
    color: var(--text-grey);
}

/* Trust Section */
/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

.about-block {
    margin-bottom: 40px;
}

.about-block:last-child {
    margin-bottom: 0;
}

.about-block h2 {
    font-size: 32px;
    color: var(--bg-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-block h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.about-block p {
    font-size: 16px;
    color: var(--text-grey);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image-wrapper {
    position: relative;
}

.about-image-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-caption {
    padding: 25px;
    background-color: var(--secondary);
    color: white;
}

.image-caption h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.image-caption p {
    font-size: 14px;
    margin: 0;
    color: #e0f2f1;
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-us {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #eaeaea;
}

.section-header h2 {
    font-size: 36px;
    color: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: #fcfcfc;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(43, 210, 210, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon i {
    width: 30px;
    height: 30px;
}

.feature-box h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.feature-box p {
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.6;
}

/* About CTA */
.about-cta {
    background-color: #f4f7f6;
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    margin-top: 80px;
}

.about-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.about-cta p {
    font-size: 18px;
    color: var(--text-grey);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--secondary);
    padding: 60px 0;
    color: var(--text-light);
}

.cta-banner h2 {
    color: var(--text-light);
    font-size: 36px;
    margin-bottom: 30px;
}

.cta-banner .btn-primary {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
    color: var(--text-light);
}

.cta-banner .btn-primary:hover {
    background-color: transparent;
    color: var(--bg-dark);
}

/* Footer */
.main-footer {
    background-color: #0e1e1e;
    color: #cccccc;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.brand-col .phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 15px 0;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333333;
    color: var(--text-light);
    text-align: center;
    line-height: 44px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary);
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cccccc;
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #111111;
    padding: 20px 0;
    font-size: 14px;
    text-align: center;
}

.nav-overlay {
    display: none;
}

.mobile-menu-header {
    display: none;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mobile-menu-toggle {
    display: none;
}

.top-left .mobile-phone-cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin: 5px 0;
}

.phone-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 117, 80, 0.4);
    animation: pulseCallBtn 2s infinite;
    margin-right: 15px;
}

.phone-icon-wrapper svg {
    width: 24px;
    height: 24px;
    animation: ringPhone 2.5s infinite;
}

.whatsapp-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: #25D366;
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-icon-wrapper svg {
    width: 24px;
    height: 24px;
    animation: ringPhone 2.5s infinite;
    animation-delay: 1.25s;
}

.phone-number-text {
    color: white;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

@keyframes pulseCallBtn {
    0% { box-shadow: 0 0 0 0 rgba(255, 117, 80, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 117, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 117, 80, 0); }
}

@keyframes pulseWhatsApp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes ringPhone {
    0% { transform: rotate(0); }
    5% { transform: rotate(15deg); }
    10% { transform: rotate(-15deg); }
    15% { transform: rotate(20deg); }
    20% { transform: rotate(-20deg); }
    25% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    35% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        right: 0;
        top: 50vh;
        transform: translateY(-50%);
        background-color: var(--primary);
        color: white;
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 14px;
        padding: 20px 10px;
        border-radius: 12px 0 0 12px;
        border: none;
        cursor: pointer;
        z-index: 1000;
        box-shadow: -4px 0 15px rgba(255, 117, 80, 0.4);
        writing-mode: vertical-rl;
        text-orientation: upright;
    }
    
    .header-inner {
        flex-wrap: wrap;
    }
    
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 30px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 2000;
        gap: 0;
    }
    
    .nav-wrapper.active {
        right: 0;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eaeaea;
    }
    
    .mobile-nav-logo {
        max-height: 40px;
    }
    
    .mobile-close-btn {
        position: absolute;
        top: 50vh;
        left: 0;
        transform: translate(-50%, -50%);
        background-color: var(--primary);
        color: white;
        border: none;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(255, 117, 80, 0.4);
        z-index: 10;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .nav-wrapper.active .mobile-close-btn {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-close-btn:active {
        transform: translate(-50%, -50%) scale(0.9);
    }
    
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .desktop-nav {
        display: block;
        width: 100%;
        margin-top: 0;
    }
    
    .desktop-nav ul {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .desktop-nav a {
        font-size: 16px;
    }
    
    .header-cta {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }

    .hide-on-mobile { display: none !important; }
    
    .top-bar-inner { flex-direction: column; text-align: center; gap: 0; padding: 2px 0; }
    .top-bar { padding: 12px 0; }
    .top-left { justify-content: center; width: 100%; }
    
    .hero-text-box h1 { font-size: 32px; }
    .hero-buttons { flex-direction: column; }
    
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-cta { padding: 30px 20px; }
    .about-cta-buttons { flex-direction: column; }
    
    .footer-grid { grid-template-columns: 1fr; }
}
