/* =============================================
   BASE STYLES & RESETS
   ============================================= */

/* CSS Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 80px;
    /* Account for fixed header */
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3f73, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    border: 1px solid #cbd5e1;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #334155, #1e293b);
    color: white;
    border-color: #334155;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(51, 65, 85, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 3px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    background: #1EBE55;
    transform: scale(1.1);
    color: white;
    animation: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1e3f73;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Links */
a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e3f73;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Lists */
ul,
ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Forms */
input,
textarea,
select {
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* =============================================
   HEADER & NAVIGATION STYLES
   ============================================= */

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    width: 100%;
    max-width: 100vw;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo a {
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #2c5aa0;
    transform: translateY(-1px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #2c5aa0;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

.nav-phone {
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-phone:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
    color: white !important;
}

.nav-phone:hover::before {
    left: 100%;
}

.nav-phone:active {
    transform: translateY(0) scale(1.02);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #475569;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.nav-toggle:hover .bar {
    background: #2c5aa0;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* =============================================
   FOOTER STYLES
   ============================================= */

.footer {
    background: #18181b;
    color: #d4d4d8;
    padding: 4rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo h3 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #a1a1aa;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    border-radius: 4px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
}

.footer-section a {
    color: #a1a1aa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.footer-section a i {
    color: #2c5aa0;
    width: 16px;
    font-size: 0.9rem;
    flex-shrink: 0;
    text-align: center;
}

.footer-section a:hover {
    color: #2c5aa0;
    transform: translateX(4px);
}

.footer-section a:hover i {
    color: #ffd700;
}

.contact-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #a1a1aa;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-info i {
    color: #2c5aa0;
    width: 18px;
    font-size: 1rem;
    flex-shrink: 0;
    text-align: center;
}

.contact-info a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: inline-block;
}

.contact-info a:hover {
    color: #2c5aa0;
}

.footer-bottom {
    border-top: 1px solid #27272a;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #71717a;
    font-size: 0.9rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: #27272a;
    color: #a1a1aa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid #3f3f46;
    text-decoration: none;
}

.social-links a:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
    border-color: #2c5aa0;
}

/* Responsive Header & Footer */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo a {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info p {
        justify-content: center;
        text-align: left;
    }
}

/* =============================================
   HOMEPAGE SPECIFIC STYLES
   ============================================= */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #2c5aa0 50%, #1e3f73 75%, #667eea 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: backgroundFloat 6s ease-in-out infinite;
    transform: translateZ(-100px) rotateX(5deg);
}

@keyframes backgroundFloat {

    0%,
    100% {
        transform: translateZ(-100px) rotateX(5deg) translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateZ(-100px) rotateX(5deg) translateY(-10px) rotate(2deg);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: sparkle3D 20s linear infinite;
    pointer-events: none;
    transform: translateZ(-50px);
}

@keyframes sparkle3D {
    0% {
        transform: translateZ(-50px) rotate(0deg) translate(-50%, -50%) rotateY(0deg);
    }

    100% {
        transform: translateZ(-50px) rotate(360deg) translate(-50%, -50%) rotateY(360deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.hero-text {
    animation: slideInLeft3D 1s ease-out;
    transform-style: preserve-3d;
}

@keyframes slideInLeft3D {
    0% {
        transform: translateX(-50px) translateZ(-200px) rotateY(-15deg);
        opacity: 0;
    }

    100% {
        transform: translateX(0) translateZ(0) rotateY(0deg);
        opacity: 1;
    }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: titleGlow3D 2s ease-in-out infinite alternate;
    transform-style: preserve-3d;
}

@keyframes titleGlow3D {
    0% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.3);
        transform: translateZ(0px);
    }

    100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.5);
        transform: translateZ(10px);
    }
}

.highlight {
    color: #ffd700;
    position: relative;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 200%;
    animation: shimmer3D 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform-style: preserve-3d;
}

@keyframes shimmer3D {
    0% {
        background-position: 0% 50%;
        transform: translateZ(0px) rotateY(0deg);
    }

    50% {
        background-position: 100% 50%;
        transform: translateZ(5px) rotateY(2deg);
    }

    100% {
        background-position: 0% 50%;
        transform: translateZ(0px) rotateY(0deg);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp3D 1s ease-out 0.3s both;
    transform-style: preserve-3d;
}

@keyframes fadeInUp3D {
    0% {
        transform: translateY(30px) translateZ(-100px) rotateX(-10deg);
        opacity: 0;
    }

    100% {
        transform: translateY(0) translateZ(0) rotateX(0deg);
        opacity: 0.9;
    }
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp3D 1s ease-out 0.6s both;
    transform-style: preserve-3d;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    transform-style: preserve-3d;
}

.feature:hover {
    transform: translateY(-3px) translateZ(20px) rotateX(5deg);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature i {
    color: #ffd700;
    font-size: 1.2rem;
    animation: pulse3D 2s ease-in-out infinite;
}

@keyframes pulse3D {

    0%,
    100% {
        transform: scale(1) translateZ(0px);
    }

    50% {
        transform: scale(1.1) translateZ(5px);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp3D 1s ease-out 0.9s both;
    transform-style: preserve-3d;
}

.hero-cta .btn {
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.hero-cta .btn:hover {
    transform: translateY(-5px) translateZ(15px) rotateX(5deg);
}

.hero-visual {
    position: relative;
    height: 400px;
    animation: slideInRight3D 1s ease-out 0.5s both;
    transform-style: preserve-3d;
    perspective: 800px;
}

@keyframes slideInRight3D {
    0% {
        transform: translateX(50px) translateZ(-200px) rotateY(15deg);
        opacity: 0;
    }

    100% {
        transform: translateX(0) translateZ(0) rotateY(0deg);
        opacity: 1;
    }
}

.insurance-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.icon-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: popIn3D 0.6s ease-out calc(var(--delay, 0) * 0.2s) both;
    transform-style: preserve-3d;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Individual 3D effects for each insurance type */
.icon-item:nth-child(1) {
    --delay: 1;
    /* Motor Insurance - Blue theme */
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
}

.icon-item:nth-child(2) {
    --delay: 2;
    /* Health Insurance - Red theme */
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    border-color: rgba(239, 68, 68, 0.3);
}

.icon-item:nth-child(3) {
    --delay: 3;
    /* Life Insurance - Purple theme */
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(126, 34, 206, 0.1));
    border-color: rgba(147, 51, 234, 0.3);
}

.icon-item:nth-child(4) {
    --delay: 4;
    /* Travel Insurance - Green theme */
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.1));
    border-color: rgba(34, 197, 94, 0.3);
}

.icon-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.icon-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: sparkleRotate 8s linear infinite;
}

@keyframes sparkleRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.icon-item:hover::before {
    left: 100%;
}

.icon-item:hover::after {
    opacity: 1;
}

.icon-item:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.icon-item i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
    display: block;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    position: relative;
}

/* Motor Insurance - Moving Car Animation */
.icon-item:nth-child(1) i {
    animation: carDriving 4s ease-in-out infinite;
    color: #3b82f6;
}

@keyframes carDriving {

    0%,
    100% {
        transform: translateX(-10px) translateY(0px) rotateZ(0deg);
    }

    25% {
        transform: translateX(5px) translateY(-3px) rotateZ(2deg);
    }

    50% {
        transform: translateX(10px) translateY(-5px) rotateZ(0deg);
    }

    75% {
        transform: translateX(5px) translateY(-3px) rotateZ(-2deg);
    }
}

/* Health Insurance - Heartbeat Animation */
.icon-item:nth-child(2) i {
    animation: heartbeat 2s ease-in-out infinite;
    color: #ef4444;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1) translateY(0px);
    }

    15% {
        transform: scale(1.2) translateY(-2px);
    }

    30% {
        transform: scale(1) translateY(0px);
    }

    45% {
        transform: scale(1.15) translateY(-1px);
    }

    60% {
        transform: scale(1) translateY(0px);
    }
}

/* Life Insurance - Shield Protection Animation */
.icon-item:nth-child(3) i {
    animation: shieldProtect 3s ease-in-out infinite;
    color: #9333ea;
}

@keyframes shieldProtect {

    0%,
    100% {
        transform: scale(1) rotateY(0deg);
        filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.3));
    }

    25% {
        transform: scale(1.05) rotateY(5deg);
        filter: drop-shadow(0 0 15px rgba(147, 51, 234, 0.5));
    }

    50% {
        transform: scale(1.1) rotateY(0deg);
        filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.7));
    }

    75% {
        transform: scale(1.05) rotateY(-5deg);
        filter: drop-shadow(0 0 15px rgba(147, 51, 234, 0.5));
    }
}

/* Travel Insurance - Flying Plane Animation */
.icon-item:nth-child(4) i {
    animation: planeFlying 5s ease-in-out infinite;
    color: #22c55e;
}

@keyframes planeFlying {
    0% {
        transform: translateX(-15px) translateY(5px) rotateZ(-10deg);
    }

    25% {
        transform: translateX(-5px) translateY(-5px) rotateZ(5deg);
    }

    50% {
        transform: translateX(15px) translateY(-10px) rotateZ(0deg);
    }

    75% {
        transform: translateX(5px) translateY(-5px) rotateZ(-5deg);
    }

    100% {
        transform: translateX(-15px) translateY(5px) rotateZ(-10deg);
    }
}

/* Enhanced hover effects for each icon type */
.icon-item:nth-child(1):hover i {
    color: #3b82f6;
    /* Blue for motor */
    transform: translateY(-5px) translateZ(20px) rotateY(10deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.4));
}

.icon-item:nth-child(2):hover i {
    color: #ef4444;
    /* Red for health */
    transform: translateY(-5px) translateZ(20px) rotateY(-10deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(239, 68, 68, 0.4));
}

.icon-item:nth-child(3):hover i {
    color: #9333ea;
    /* Purple for life */
    transform: translateY(-5px) translateZ(20px) rotateX(10deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(147, 51, 234, 0.4));
}

.icon-item:nth-child(4):hover i {
    color: #22c55e;
    /* Green for travel */
    transform: translateY(-5px) translateZ(20px) rotateX(-10deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(34, 197, 94, 0.4));
}

.icon-item span {
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.icon-item:hover span {
    transform: translateZ(10px);
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transform-style: preserve-3d;
}

.floating-element {
    position: absolute;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 215, 0, 0.2));
    border-radius: 50%;
    animation: advancedFloat3D 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform-style: preserve-3d;
}

@keyframes advancedFloat3D {

    0%,
    100% {
        transform: translateY(0px) translateZ(0px) rotate(0deg) rotateX(0deg) rotateY(0deg) scale(1);
        opacity: 0.7;
    }

    25% {
        transform: translateY(-15px) translateZ(20px) rotate(90deg) rotateX(15deg) rotateY(45deg) scale(1.1);
        opacity: 1;
    }

    50% {
        transform: translateY(-25px) translateZ(40px) rotate(180deg) rotateX(30deg) rotateY(90deg) scale(0.9);
        opacity: 0.8;
    }

    75% {
        transform: translateY(-15px) translateZ(20px) rotate(270deg) rotateX(15deg) rotateY(135deg) scale(1.1);
        opacity: 1;
    }
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.element-4 {
    width: 30px;
    height: 30px;
    top: 40%;
    right: 10%;
    animation-delay: 1s;
}

/* Add a 3D cube element for extra effect */
.hero-visual::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    animation: cube3D 12s linear infinite;
    transform-style: preserve-3d;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

@keyframes cube3D {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateZ(0px);
    }

    25% {
        transform: rotateX(90deg) rotateY(90deg) rotateZ(45deg) translateZ(20px);
    }

    50% {
        transform: rotateX(180deg) rotateY(180deg) rotateZ(90deg) translateZ(0px);
    }

    75% {
        transform: rotateX(270deg) rotateY(270deg) rotateZ(135deg) translateZ(20px);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg) translateZ(0px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Experts Section */
.experts-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.experts-header {
    text-align: center;
    margin-bottom: 4rem;
}

.experts-header h2 {
    font-size: 2.8rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.experts-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.experts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.expert-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expert-card:hover {
    transform: translateY(-10px);
}

.expert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
}

.expert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.expert-card:hover::after {
    left: 100%;
}

.expert-profile {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.expert-card:hover .expert-avatar {
    transform: scale(1.1);
}

.expert-info h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.expert-designation {
    color: #666;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.expert-id {
    font-size: 0.9rem;
    color: #888;
    font-family: monospace;
}

.expert-contact {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-item i {
    width: 20px;
    color: #2c5aa0;
    margin-right: 0.5rem;
}

.expert-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
    transition: all 0.3s ease;
}

.expert-card:hover .stat .number {
    transform: scale(1.1);
    color: #1e3f73;
}

.stat .label {
    font-size: 0.9rem;
    color: #666;
}

.expert-specialties {
    margin-bottom: 2rem;
}

.expert-specialties h4 {
    color: #333;
    margin-bottom: 1rem;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.specialty-item:hover {
    background: #e8f4fd;
    transform: translateY(-2px);
}

.specialty-item i {
    color: #2c5aa0;
}

.expert-actions {
    display: flex;
    gap: 1rem;
}

.btn-expert {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-expert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.btn-expert:hover::before {
    left: 100%;
}

.btn-expert.primary {
    background: #2c5aa0;
    color: white;
}

.btn-expert.primary:hover {
    background: #1e3f73;
}

.btn-expert.secondary {
    background: #25d366;
    color: white;
}

.btn-expert.secondary:hover {
    background: #128c7e;
    animation: pulse 1s infinite;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: white;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #2c5aa0;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.05), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.2);
}

.benefit-card i {
    font-size: 3.5rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.1);
    color: #1e3f73;
}

.benefit-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Customer Reviews Section */
.customer-reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fd 100%);
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-header h2 {
    font-size: 2.8rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.overall-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
}

.stars {
    color: #ffd700;
    font-size: 1.5rem;
}

.rating-text {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid #2c5aa0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #2c5aa0;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.review-stars {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.review-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 1rem;
    position: relative;
}

.review-preview,
.review-full {
    display: inline;
}

.read-more-btn {
    background: none;
    border: none;
    color: #2c5aa0;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    background: rgba(44, 90, 160, 0.1);
}

.read-more-btn:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

.read-more-btn.expanded {
    background: #1e3f73;
    color: white;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.reviewer-details h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.fb-link {
    color: #1877f2;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.fb-link:hover {
    color: #0d6efd;
    transform: translateX(3px);
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #f1f5f9 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="blog-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(44,90,160,0.05)"/><circle cx="10" cy="10" r="0.5" fill="rgba(44,90,160,0.03)"/></pattern></defs><rect width="200" height="200" fill="url(%23blog-pattern)"/></svg>');
    opacity: 0.5;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.blog-header-content {
    flex: 1;
    max-width: 600px;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.2);
}

.blog-badge i {
    font-size: 1rem;
}

.blog-header h2 {
    font-size: 3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #2c5aa0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}

.blog-view-all {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: #2c5aa0;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.blog-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
    transition: left 0.5s ease;
}

.blog-view-all:hover::before {
    left: 100%;
}

.blog-view-all:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.3);
    border-color: #2c5aa0;
}

.blog-view-all i {
    transition: transform 0.3s ease;
}

.blog-view-all:hover i {
    transform: translateX(3px);
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border-left: 4px solid transparent;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-left-color: #2c5aa0;
}

.blog-card.featured {
    border-left-color: #ffd700;
}

.blog-card.featured:hover {
    border-left-color: #ffd700;
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card.featured .blog-card-image {
    height: 250px;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image-placeholder.health {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.blog-image-placeholder.motor {
    background: linear-gradient(135deg, #059669, #047857);
}

.blog-image-placeholder.savings {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.blog-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.blog-image-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-image-placeholder i {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #2c5aa0;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-category.health {
    background: rgba(255, 255, 255, 0.95);
    color: #dc2626;
}

.blog-category.motor {
    background: rgba(255, 255, 255, 0.95);
    color: #059669;
}

.blog-category.savings {
    background: rgba(255, 255, 255, 0.95);
    color: #d97706;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card.featured .blog-card-content {
    padding: 2.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.blog-author,
.blog-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-author i,
.blog-date i {
    color: #2c5aa0;
    font-size: 0.8rem;
}

.blog-card h3 {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card.featured h3 a {
    font-size: 1.4rem;
    font-weight: 700;
}

.blog-card h3 a:hover {
    color: #2c5aa0;
}

.blog-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-card.featured p {
    font-size: 1rem;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #1e3f73;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

.blog-newsletter {
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    border-radius: 25px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.blog-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsletter-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23newsletter-pattern)"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.newsletter-icon i {
    font-size: 2rem;
    color: #ffd700;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.newsletter-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.6;
}

.newsletter-btn {
    background: #25d366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    flex-shrink: 0;
}

.newsletter-btn:hover {
    background: #1ebe55;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    color: white;
}

.newsletter-btn i {
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

.cta-buttons .btn-primary {
    background: white;
    color: #2c5aa0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

.insurance-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.option-card {
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: #2c5aa0;
    transform: translateY(-5px);
}

.option-card i {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.option-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.option-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-visual {
        height: 300px;
    }

    .insurance-icons {
        gap: 1.5rem;
    }

    .icon-item {
        padding: 1.5rem;
    }

    .icon-item i {
        font-size: 2.5rem;
    }

    .floating-element {
        display: none;
    }

    .experts-grid {
        grid-template-columns: 1fr;
    }

    .expert-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .expert-actions {
        flex-direction: column;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .reviews-header h2 {
        font-size: 2.2rem;
    }

    .overall-rating {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .blog-header h2 {
        font-size: 2.2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-card-image {
        height: 180px;
    }

    .blog-card.featured .blog-card-image {
        height: 200px;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .newsletter-text h3 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .insurance-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .experts-header h2 {
        font-size: 2rem;
    }

    .expert-card {
        padding: 1.5rem;
    }

    .expert-contact {
        font-size: 0.9rem;
    }

    .specialty-item {
        font-size: 0.8rem;
        padding: 0.4rem;
    }

    .expert-stats {
        padding: 0.8rem;
    }

    .stat .number {
        font-size: 1.2rem;
    }

    .stat .label {
        font-size: 0.8rem;
    }

    .expert-profile {
        flex-direction: column;
        text-align: center;
    }

    .expert-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .review-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .review-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .reviews-header h2 {
        font-size: 1.8rem;
    }

    .overall-rating {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .stars {
        font-size: 1.2rem;
    }

    .reviewer-details h4 {
        font-size: 1rem;
    }

    .fb-link {
        font-size: 0.8rem;
    }

    .read-more-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .customer-reviews {
        padding: 60px 0;
    }

    .blog-section {
        padding: 60px 0;
    }

    .blog-header h2 {
        font-size: 1.8rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .blog-card.featured .blog-card-content {
        padding: 1.8rem;
    }

    .blog-newsletter {
        padding: 2rem;
    }

    .newsletter-text h3 {
        font-size: 1.3rem;
    }

    .newsletter-text p {
        font-size: 1rem;
    }

    .newsletter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .cta-buttons .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Additional breakpoint for very small screens */
@media (max-width: 320px) {
    .reviews-grid {
        padding: 0 0.5rem;
    }

    .review-card {
        padding: 1rem;
        margin: 0;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .reviews-header h2 {
        font-size: 1.5rem;
    }

    .overall-rating {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .stars {
        font-size: 1rem;
    }

    .blog-newsletter {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .newsletter-content {
        gap: 1rem;
    }

    .newsletter-icon {
        width: 60px;
        height: 60px;
    }

    .newsletter-icon i {
        font-size: 1.5rem;
    }

    .newsletter-text h3 {
        font-size: 1.1rem;
    }

    .newsletter-text p {
        font-size: 0.9rem;
    }

    .newsletter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }
}

/* 3D Experimental Effects */
.hero-text h1:hover {
    animation-play-state: paused;
    transform: perspective(500px) rotateX(5deg) rotateY(-3deg) translateZ(20px);
    transition: all 0.3s ease;
}

.hero-cta .btn {
    transform-style: preserve-3d;
    position: relative;
}

.hero-cta .btn::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    border-radius: 12px;
    z-index: -1;
    transform: translateZ(-10px);
    transition: all 0.3s ease;
}

.hero-cta .btn:hover::after {
    transform: translateZ(-20px) scale(1.1);
    opacity: 0.5;
}

/* Enhanced icon hover effects with vehicle themes */
.icon-item:hover i {
    transform: scale(1.2) !important;
    animation-duration: 0.8s !important;
}

/* Motor Insurance - Road lines effect */
.icon-item:nth-child(1)::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #3b82f6 20%, transparent 40%, #3b82f6 60%, transparent 80%, #3b82f6 100%);
    animation: roadLines 2s linear infinite;
    opacity: 0.6;
}

@keyframes roadLines {
    0% {
        transform: translateX(-50%) translateX(-20px);
    }

    100% {
        transform: translateX(-50%) translateX(20px);
    }
}

/* Health Insurance - EKG lines effect */
.icon-item:nth-child(2)::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ef4444 0%, #ef4444 20%, transparent 20%, transparent 30%, #ef4444 30%, #ef4444 35%, transparent 35%, transparent 45%, #ef4444 45%, #ef4444 50%, transparent 50%);
    animation: ekgPulse 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes ekgPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-50%) scaleX(0.8);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2);
    }
}

/* Life Insurance - Protection waves */
.icon-item:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 50%;
    animation: protectionWaves 3s ease-out infinite;
}

.icon-item:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(147, 51, 234, 0.5);
    border-radius: 50%;
    animation: protectionWaves 3s ease-out infinite 0.5s;
}

@keyframes protectionWaves {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Travel Insurance - Flight path dots */
.icon-item:nth-child(4)::before {
    content: '• • • • •';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(34, 197, 94, 0.6);
    font-size: 8px;
    letter-spacing: 8px;
    animation: flightPath 5s ease-in-out infinite;
}

@keyframes flightPath {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-50%) translateX(-10px);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateX(10px);
    }
}

/* Enhanced positioning for decorative elements */
.icon-item {
    position: relative;
    overflow: visible;
}