/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #222;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    height: 75px;
    width: auto;
}

.logo-footer {
    height: 65px;
    width: auto;
    margin-bottom: 15px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #3967d9;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #e52238;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #3967d9;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary,
.btn-secondary,
.btn-outline,
button.btn-primary,
button.btn-secondary,
button.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    margin: 10px 5px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: #3967d9;
    color: white;
    border: 2px solid #3967d9;
}

.btn-primary:hover {
    background-color: #e52238;
    border-color: #e52238;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #e52238;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #3967d9;
    border: 2px solid #3967d9;
}

.btn-outline:hover {
    background-color: #e52238;
    color: white;
    transform: translateY(-2px);
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.service-card i {
    font-size: 3rem;
    color: #3967d9;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.center {
    text-align: center;
}

/* CTA phone button */
.cta-section .btn-secondary {
    background-color: transparent;
    color: #1e73be !important;
    border: 2px solid #1e73be;
}
.cta-section .btn-secondary:hover {
    background-color: #d32f2f;
    border-color: #d32f2f;
    color: #ffffff !important;
}

/* Why Choose Us */
.why-choose {
    padding: 80px 0;
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature {
    padding: 20px;
}

.feature i {
    font-size: 2.5rem;
    color: #3967d9;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

/* Update the footer-content grid to center columns */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    justify-items: center; /* Center items horizontally within each grid cell */
    text-align: center; /* Center text within each column */
}

/* Center the column titles */
.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: 28px;
    font-size: 1.3rem;
    color: #fff;
    text-align: center; /* Ensure titles are centered */
}

/* Center the underline for titles */
.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #3967d9;
    border-radius: 2px;
}

/* Center the logo column content */
.footer-logo {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: left;
}

.footer-logo img {
    height: 65px;
    width: auto;
    margin-bottom: 15px;
}

/* Center the logo image */
.logo-footer {
    display: block;
    margin: 0 auto 15px;
}

.footer-logo p {
    margin-bottom: 10px;
}

.footer-trust {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #ccc;
    max-width: 220px;
    line-height: 1.4;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: #3967d9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-links a.active {
    color: #e52238;
}

/* Center the contact info icons and text */
.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start; /* Changed from 'left' to 'flex-start' */
    justify-content: flex-start; /* Changed from 'left' to 'flex-start' */
    text-align: left;
}

.footer-contact i {
    margin-right: 10px;
    color: #3967d9;
    flex-shrink: 0; /* Add this line */
    margin-top: 3px; /* Optional: adjust vertical alignment */
}

/* Center the lists in links and services columns */
.footer-links ul,
.footer-services ul {
    display: inline-block;
    text-align: left; /* Keep list items left-aligned within centered container */
}

.footer-bottom {
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive adjustments for centered footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        text-align: center;
    }
    
    .footer-links ul,
    .footer-services ul {
        text-align: center; /* Center lists on smaller screens */
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: flex-start; /* Align contact items to left on mobile */
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links ul,
    .footer-services ul {
        text-align: center;
    }
    
    .footer-links li,
    .footer-services li {
        text-align: center;
    }
}

/* Page Hero for inner pages */
.page-hero {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
}

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
    color: #222;
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Page */
.service-detail {
    padding: 80px 0;
}
/* Services Page — Clean, No Boxes */
.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    padding: 25px 0;
    margin-bottom: 40px;

    /* Remove card/box styling */
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.service-icon {
    font-size: 2.8rem;
    color: #3967d9;
}

.service-details h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #222;
}

/* Button under each service */
.service-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: #3967d9;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.2s ease;
}

.service-btn:hover {
    background: #e52238;
}

.service-icon {
    font-size: 3rem;
    color: #3967d9;
}

.service-details h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #222;
}

.service-details ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-details li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-details li:before {
    content: "✓";
    color: #3967d9;
    position: absolute;
    left: 0;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
}

.contact-intro {
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-item i {
    color: #3967d9;
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px; /* Fixed width for icon column */
}

.contact-text {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    min-width: 0; /* Allows text to wrap properly */
}

.contact-text strong {
    margin-right: 10px;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap; /* Prevents title from breaking */
}

.contact-detail {
    flex: 1;
    min-width: 0; /* Allows text to wrap */
    line-height: 1.5;
}

/* Desktop: Title and detail on same line, detail wraps if needed */
@media (min-width: 769px) {
    .contact-text {
        flex-wrap: nowrap; /* Keep title and detail on same line */
    }
    
    .contact-text strong {
        min-width: 120px; /* Fixed width for titles */
    }
    
    .contact-detail {
        flex: 1;
        min-width: 200px;
    }
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Map Container - FIXED SIZE */
.map-container {
    margin-top: 80px;
    height: 500px; /* Increased from 400px to 500px */
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}

/* Global Fixes */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    /* Mobile Responsive Fix for Contact Items - Stack title above detail */
    .contact-text {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-text strong {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 5px;
        display: block;
        width: 100%;
        white-space: normal; /* Allow title to wrap on mobile */
    }
    
    .contact-detail {
        min-width: auto;
        width: 100%;
    }
    
    /* Map container on mobile */
    .map-container {
        height: 350px;
        margin-top: 60px;
    }
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}













