/* Custom Properties for Professional Theme */
:root {
    --primary-color: #003366; /* Deep Navy Blue */
    --accent-color: #FFC300; /* Gold/Accent Yellow */
    --light-bg: #f7f9fc;    /* Light Gray Background */
    --text-color: #333333;
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Reusable Section Styling */
.section {
    padding: 80px 5%;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.primary-btn:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--accent-color);
}

header nav a {
    color: var(--white-color);
    margin-left: 25px;
    font-weight: 400;
    padding: 5px 0;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--accent-color);
}

/* --- Hero Section (Video) --- */
.hero-section {
    position: relative;
    height: 80vh; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white-color);
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .tagline {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 300;
}

/* --- Business Profile --- */
.business-profile {
    background-color: var(--white-color);
}

.profile-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-card {
    flex-basis: 45%;
    text-align: center;
    padding: 20px;
}

.profile-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid var(--accent-color);
}

.profile-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-card .title {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

/* --- Employee Cards --- */
.employee-cards {
    background-color: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.employee-card {
    background-color: var(--white-color);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: left;
    align-items: center;
}

.employee-card:hover {
    transform: translateY(-5px);
}

.employee-photo-landscape {
    width: 90%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 5px;
}

.employee-photo-landscape img {
    width: 100%;
    height: 100%;
    margin-left: 20px;
    object-fit:100vh;
    
    
   
}

.employee-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2px;
}

.employee-card .details {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

/* Editable ID style */
.editable-id {
    font-size: 0.9em;
    font-weight: 600;
}

.editable-id span, .claim-number-editable {
    color: var(--accent-color);
    cursor: text;
    border-bottom: 1px dotted #ccc; /* Visual cue for editability */
    transition: background-color 0.2s;
}

.editable-id span:hover, .claim-number-editable:hover {
    background-color: #ffe8a8;
}

/* --- Products Section --- */
.products-section {
    background-color: var(--white-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    color: var(--primary-color);
    padding: 15px 20px 10px;
    font-weight: 700;
}

.product-card ul {
    list-style: none;
    padding: 0 20px 20px;
}

.product-card ul li {
    padding: 8px 0;
    border-bottom: 1px dotted #e0e0e0;
    font-size: 0.95em;
}

.product-card ul li:last-child {
    border-bottom: none;
}

.product-card ul li[contenteditable="true"] {
    cursor: text;
    transition: background-color 0.2s;
}

.product-card ul li[contenteditable="true"]:hover {
    background-color: #f0f0f0;
}


/* --- Partners Section --- */
.partners-section h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-grid img {
    height: 50px; /* Uniform height for logos */
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.logo-grid img:hover {
    opacity: 1;
}

.partner-logos img {
    max-width: 100px; /* Adjust size for the 16 logos */
}

.car-logos img {
    max-width: 80px; /* Adjust size for the 8 car logos */
}

/* --- Claim Support Section --- */
.claims-section {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.claims-section h2 {
    color: var(--accent-color);
}

.claims-section h2::after {
    background-color: var(--white-color);
}

.claim-contact {
    font-size: 1.2em;
    margin-bottom: 40px;
    font-weight: 300;
}

.claim-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex-basis: 30%;
    background-color: var(--white-color);
    color: var(--text-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step .icon {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- Customer Reviews Section --- */
.reviews-section {
    background-color: var(--white-color);
    max-height:900px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    
    margin: 0 auto;
}

.review-card {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.review-photo-landscape { 
    width: 100%;
    height: 50%; /* Landscape aspect ratio */
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 5px;
}

.review-photo-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card .quote {
    font-style: italic;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95em;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
}

.review-card .customer-name {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

/* --- Contact Section --- */
.contact-container {
    display: flex;
    gap: 50px;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    flex: 1.5;
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-details {
    flex: 1;
    padding: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 8px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-family);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

.contact-details p {
    margin-bottom: 15px;
}

.google-map {
    margin-top: 25px;
    border-radius: 5px;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 30px;
    height: 30px;
    filter: invert(1); /* Makes placeholder social icons white */
    transition: transform 0.3s;
}

.social-links img:hover {
    transform: scale(1.1);
    filter: invert(0) sepia(1) saturate(1000%) hue-rotate(20deg); /* Accent color on hover */
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-details, .contact-form {
        flex: auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 5%;
    }
    
    .hero-content h1 {
        font-size: 3em;
    }

    .hero-content .tagline {
        font-size: 1.2em;
    }

    .profile-container {
        flex-direction: column;
        gap: 20px;
    }
    
    header {
        flex-direction: column;
    }

    header nav {
        margin-top: 10px;
    }

    header nav a {
        margin: 0 10px;
    }
    
    .claim-steps {
        flex-direction: column;
    }

    .step {
        flex-basis: auto;
        margin-bottom: 20px;
    }

    .team-grid, .product-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}