/* 
    ======================================================== 
    Premium Insurance CSS Theme
    Typography: 'Outfit' for headers, 'Inter' for body
    ======================================================== 
*/

:root {
    /* Color Palette */
    --primary: #0A2E5C;
    --primary-light: #1A4786;
    --secondary: #00B4D8;
    --accent: #E63946;
    --dark: #121212;
    --dark-grey: #333333;
    --light-grey: #F5F7FA;
    --text-color: #4A4A4A;
    --white: #FFFFFF;

    /* Layout */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.outfit-font {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-grey);
}

.bg-dark {
    background-color: var(--primary);
    color: var(--white);
}

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

.text-white {
    color: var(--white);
}

.mt-3 {
    margin-top: 24px;
}

/* Placeholder Styles */
.img-placeholder {
    background-color: #e0e6ed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c7a89;
    border-radius: var(--border-radius-lg);
    border: 2px dashed #b0c4de;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 250px;
}

.img-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.img-placeholder.tall-img {
    height: 100%;
    min-height: 400px;
}

.img-placeholder.bg-darker {
    background-color: #1a4786;
    border-color: #3b71ca;
    color: #fff;
}

.wide-placeholder {
    height: 300px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0096b4;
    transform: translateY(-2px);
    color: #fff;
}

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

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

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

.btn-white:hover {
    background-color: #f1f1f1;
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.logo i {
    font-size: 32px;
    color: var(--secondary);
}

.logo strong {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu li a {
    color: var(--dark-grey);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
}

.nav-menu li a:hover {
    color: var(--secondary);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 16px 0;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-color);
}

.dropdown-content a:hover {
    background-color: var(--light-grey);
    color: var(--secondary);
    padding-left: 28px;
}

.nav-buttons {
    display: flex;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8faff 0%, #e0eaf5 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 54px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.hero-action {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 24px;
    font-weight: 500;
    color: var(--primary);
}

.hero-features i {
    color: var(--secondary);
    margin-right: 4px;
}

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

.hero-img {
    height: 500px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: none;
    background: #ccd5e0;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.floating-card i {
    font-size: 32px;
    color: var(--secondary);
}

.top-card {
    top: 40px;
    left: -40px;
    animation: float 6s ease-in-out infinite;
}

.bottom-card {
    bottom: 40px;
    right: -30px;
    animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Common */
.section-subtitle {
    color: var(--secondary);
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-title {
    font-size: 40px;
    margin-bottom: 24px;
    font-weight: 700;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 5px;
}

.about-list {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-list li {
    display: flex;
    gap: 16px;
}

.about-list i {
    background: rgba(0, 180, 216, 0.1);
    color: var(--secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.authority-logos {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #ddd;
}

.authority-logos p {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.logos-flex {
    display: flex;
    gap: 24px;
}

.logo-box {
    background: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    color: #aaa;
    box-shadow: var(--shadow-sm);
}

/* Discount Section */
.discount-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.discount-content h3 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 16px;
}

.discount-content p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
    max-width: 600px;
}

.countdown-mockup {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
}

/* Switcher / CTA */
.switcher-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 30px;
    margin-bottom: 40px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 32px;
    color: var(--white);
    font-weight: 600;
    font-family: 'Outfit';
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    background: var(--secondary);
}

.pane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pane-text h3 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 16px;
}

.pane-text p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.8;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services */
.grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--secondary);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 24px;
}

.view-more {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--white);
}

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

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

.usp-icon {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
    font-size: 40px;
    color: var(--secondary);
    background: var(--white);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.usp-item h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

/* Reviews */
.rating-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #ffb800;
    font-size: 24px;
    margin-bottom: 40px;
}

.rating-stars span {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    margin-left: 8px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.r-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
}

.bg-blue {
    background: var(--primary-light);
}

.bg-dark {
    background: var(--dark-grey);
}

.r-info strong {
    display: block;
    color: var(--dark);
    font-family: 'Outfit';
    font-size: 18px;
}

.r-info span {
    font-size: 14px;
    color: var(--secondary);
}

.r-text {
    font-style: italic;
    color: #666;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 50px;
}

.step-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(0, 180, 216, 0.2);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    background: var(--light-grey);
    padding: 0 20px;
}

.step-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-sm);
}

.step h4 {
    font-size: 22px;
    margin-bottom: 12px;
}

/* Social Proof Feed */
.proof-ticker {
    width: 100%;
    overflow: hidden;
    background: var(--light-grey);
    padding: 15px 0;
    border-radius: 50px;
    margin: 30px 0;
    border: 1px solid #eee;
}

.ticker-track {
    display: flex;
    animation: ticker 20s linear infinite;
    width: max-content;
}

.ticker-item {
    margin: 0 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.ticker-item i {
    color: var(--secondary);
    font-size: 20px;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Final CTA */
.final-cta {
    padding: 80px 0 120px;
}

.cta-box {
    background: url('../images/cta/all-cta.jpg') center/cover;
    background-color: var(--primary);
    border-radius: var(--border-radius-lg);
    padding: 80px 40px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.site-footer {
    background-color: #051A36;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

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

.footer-brand .logo i {
    font-size: 32px;
    color: var(--secondary);
}

.footer-brand .logo span {
    font-size: 24px;
    color: var(--white);
    font-family: 'Outfit';
    font-weight: 700;
    margin-left: 8px;
}

.footer-brand .logo strong {
    color: var(--secondary);
}

.footer-brand p {
    margin: 24px 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links li i {
    margin-top: 3px;
    color: var(--secondary);
    flex-shrink: 0;
    font-size: 18px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.bottom-links {
    display: flex;
    gap: 24px;
}

.bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

/* Inner Hero */
.inner-hero {
    background: linear-gradient(rgba(5, 26, 54, 0.75), rgba(5, 26, 54, 0.75)), url('../images/hero/hero-home.jpg') center/cover;
    color: var(--white);
    padding: 180px 0 100px;
    text-align: left;
}

.inner-hero h1 {
    color: var(--white);
    font-size: 54px;
    margin-bottom: 20px;
}

.inner-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .discount-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .grid-services,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .usps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .step-line {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .nav-buttons {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-action {
        flex-direction: column;
    }

    .grid-services,
    .reviews-grid,
    .usps-grid {
        grid-template-columns: 1fr;
    }

    .pane-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}