/* Reset & Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content1 {
    font-size: 1.18rem;
    color: rgb(251, 188, 0);
    margin: 0.5rem;
}

.content2 {
    font-size: 1.18rem;
    color: rgb(251, 188, 0);
    margin: 0.5rem;
}


/* Header Styles */

.navbar {
    background: white;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.logo-primary {
    /* color: var(--secondary-color); */
    color: rgb(255, 0, 0);
    height: 200px;
    width: 200px;
    font-size: 2.6rem;
}

.tagline {
    font-size: 0.8rem;
    margin-top: -0.8rem;
    margin-left: 5.3rem;
}

.contact-header p {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
    color: var(--dark-color);
}

.contact-header i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.contact-header d {
    font-size: 1.8rem;
    color: rgb(39, 2, 251);
}

.contact-header c {
    font-size: 2rem;
    color: green;
}


/* Hero Section */

.hero {
    font-size: 3rem;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
}

.service-card[data-category="corporate"]::before {
    background: #9b59b6;
    /* Purple color for corporate */
}

.service-card[data-category="general"]::before {
    background: #95a5a6;
    /* Gray color for general */
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.8rem;
    opacity: 0.9;
}


/* Section Common Styles */

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}


/* Contact Section */

.contact-section {
    padding: 4rem 1rem;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card p {
    color: #555;
    margin: 0.5rem 0;
}


/* Services Section */

.services-section {
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-subtypes {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.service-subtypes li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.service-subtypes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-description {
    color: #666;
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* Category Colors */

.service-card[data-category="insurance"]::before {
    background: #3498db;
}

.service-card[data-category="financial"]::before {
    background: #27ae60;
}

.service-card[data-category="construction"]::before {
    background: #f39c12;
}

.service-card[data-category="home-services"]::before {
    background: #9b59b6;
}

.service-card[data-category="travel"]::before {
    background: #1abc9c;
}


/* WhatsApp Button */

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
}

.whatsapp-float:hover {
    width: 180px;
    background-color: #128c7e;
}

.whatsapp-float i {
    font-size: 32px;
    color: white !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
    flex-shrink: 0;
    line-height: 1;
    visibility: visible !important;
    opacity: 1 !important;
    width: 32px;
    height: 32px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: none;
    z-index: 2;
    pointer-events: none;
}

.whatsapp-float:hover i {
    left: 50%;
    transform: translate(-50%, -50%);
}

.whatsapp-text {
    font-size: 14px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    max-width: 120px;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}


/* Call Button */

.call-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 25px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    cursor: default;
}

.call-float:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

.phone-number-tooltip {
    position: absolute;
    right: 70px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.phone-number-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.call-float:hover .phone-number-tooltip {
    opacity: 1;
    visibility: visible;
}


/* Footer */

footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section1 h3 {
    color: rgb(255, 0, 0);
    font-size: 1.7rem;
    margin-bottom: 0.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section1 p {
    color: white;
    font-size: 0.9rem;
    margin-top: 1px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}


/* Responsive Design */


/* Responsive Design */

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    .logo {
        justify-content: center;
        gap: 10px;
    }
    .logo-text {
        align-items: flex-start;
    }
    .logo-img {
        height: 60px;
    }
    .logo h1 {
        font-size: 2rem;
    }
    .logo-primary {
        font-size: 2.2rem;
        height: auto;
        width: auto;
    }
    .tagline {
        font-size: 0.6rem;
        margin-left: 0;
        margin-top: -0.5rem;
        text-align: right;
        align-self: flex-end;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float:hover {
        width: 60px;
    }
    .whatsapp-float:hover .whatsapp-text {
        display: none;
    }
    .contact-header {
        text-align: left;
    }
    .contact-header p {
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: flex-start;
        word-break: break-word;
    }
    .contact-header i,
    .contact-header c,
    .contact-header d {
        font-size: 1.2rem;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        justify-content: center;
        gap: 8px;
    }
    .logo-text {
        align-items: flex-start;
    }
    .logo-img {
        height: 50px;
    }
    .logo h1 {
        font-size: 1.5rem;
    }
    .logo-primary {
        font-size: 1.8rem;
        height: auto;
        width: auto;
    }
    .tagline {
        font-size: 0.5rem;
        margin-left: 0;
        margin-top: -0.4rem;
        text-align: right;
        align-self: flex-end;
    }
    .hero {
        padding: 3rem 1rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .service-card {
        padding: 1.5rem;
    }
    .whatsapp-float,
    .call-float {
        bottom: 20px;
        right: 5px;
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    .whatsapp-float {
        bottom: 90px;
    }
    .contact-header {
        text-align: left;
        width: 100%;
    }
    .contact-header p {
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: flex-start;
        word-break: break-word;
        padding: 0 5px;
    }
    .contact-header i,
    .contact-header c,
    .contact-header d {
        font-size: 1rem;
        flex-shrink: 0;
    }
    .navbar .container {
        padding: 0 10px;
    }
}