/* Google Fonts: Outfit & Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Vatan Sigorta Modern Theme */
:root {
    /* Primary Colors */
    --primary-color: #0F2027;
    /* Deep Navy */
    --primary-light: #203A43;
    /* Lighter Navy */
    --primary-dark: #0A151C;
    /* Very Dark Navy */

    /* Accent Colors */
    --accent-color: #00E5FF;
    /* Vibrant Cyan/Turquoise */
    --accent-hover: #00BOD4;
    /* Darker Turquoise for hover */
    --accent-gradient: linear-gradient(135deg, #00E5FF 0%, #0072FF 100%);

    /* Neutral Colors */
    --bg-color: #FAFCFF;
    /* Very light blue-ish white */
    --bg-surface: #FFFFFF;
    /* Pure white for cards */
    --text-primary: #1E293B;
    /* Slate 800 - better than pure black */
    --text-secondary: #64748B;
    /* Slate 500 */
    --text-muted: #94A3B8;
    /* Slate 400 */

    /* Utility */
    --border-color: rgba(15, 32, 39, 0.08);
    /* Soft border */

    /* Shadows */
    --shadow-soft: 0 10px 40px -10px rgba(15, 32, 39, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(0, 229, 255, 0.3);
    --shadow-layered: 0 1px 3px rgba(0, 0, 0, 0.05), 0 20px 40px -20px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

/* Base Overrides */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Typography Enhancements */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Glassmorphism Header */
.header_style1 {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1050 !important;
}

.header_style1 .navbar-nav .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary-color) !important;
    font-size: 16px;
    padding: 10px 20px !important;
    position: relative;
    transition: color 0.3s ease;
}

.header_style1 .navbar-nav .nav-link:hover,
.header_style1 .navbar-nav .nav-item.active .nav-link {
    color: var(--accent-hover) !important;
}

/* Underline animation for nav links */
.header_style1 .navbar-nav .nav-item:not(:last-child) .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 20px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.header_style1 .navbar-nav .nav-item:not(:last-child):hover .nav-link::after,
.header_style1 .navbar-nav .nav-item.active:not(:last-child) .nav-link::after {
    width: calc(100% - 40px);
}

/* Modern Quote Button */
.btn-modern-quote {
    background: var(--accent-gradient) !important;
    color: white !important;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 10px 20px -10px rgba(0, 229, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: normal;
}

.btn-modern-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0072FF 0%, #00E5FF 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-modern-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px rgba(0, 229, 255, 0.6);
}

.btn-modern-quote:hover::before {
    opacity: 1;
}

.btn-modern-quote i {
    transition: transform 0.3s ease;
}

.btn-modern-quote:hover i {
    transform: translateX(4px);
}

/* Hero Section / Banner */
.modern-hero {
    position: relative;
    padding: 120px 0 100px;
    background-color: var(--primary-color);
    overflow: hidden;
    z-index: 1;
}

/* Background blob effects */
.modern-hero::before,
.modern-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.modern-hero::before {
    width: 600px;
    height: 600px;
    background: rgba(0, 229, 255, 0.15);
    top: -200px;
    right: -100px;
}

.modern-hero::after {
    width: 400px;
    height: 400px;
    background: rgba(0, 114, 255, 0.15);
    bottom: -100px;
    left: -100px;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-img-box {
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) translateY(0);
    transition: transform 0.5s ease;
}

.hero-img-box:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.hero-img-box img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-layered);
    width: 100%;
    position: relative;
}

/* Floating Elements in Hero */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.floating-card.card-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 10%;
    right: -20px;
    animation-delay: 2s;
}

.fc-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.fc-text h5 {
    margin: 0;
    font-size: 16px;
    color: var(--primary-color);
}

.fc-text p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

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

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

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

/* Features / Services Section */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.modern-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: rgba(0, 229, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 30px;
    transition: all 0.3s ease;
}

.modern-card:hover .card-icon {
    background: var(--accent-gradient);
    color: white;
}

.modern-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.modern-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Trust Elements / Stats */
.stats-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: white;
    position: relative;
}

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

.stat-item h3 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Footer */
.modern-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

.modern-footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .modern-hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-img-box {
        margin-top: 50px;
    }

    .floating-card {
        display: none;
    }

    .header_style1 .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-soft);
        margin-top: 15px;
    }
}

/* Hover Dropdown Desktop */
@media (min-width: 992px) {
    .header_style1 .dropdown-menu {
        margin-top: 15px !important;
        position: absolute;
    }

    /* Invisible bridge to prevent hover loss */
    .header_style1 .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -15px; /* Same height as margin-top */
        left: 0;
        right: 0;
        height: 15px;
        background-color: transparent;
    }

    .header_style1 .dropdown:hover .dropdown-menu {
        display: block !important;
        visibility: visible;
        opacity: 1;
    }
}

/* Base button centering for all instances */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Get Quote Page Styles */
.quote-container {
    padding: 100px 0;
    min-height: 80vh;
}

.quote-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-layered);
}

.quote-header {
    background: var(--primary-color);
    padding: 30px 20px 20px;
    text-align: center;
}

.quote-header h2 {
    color: white !important;
    font-size: 1.8rem;
    font-weight: 800;
}

.quote-header .nav-pills {
    margin-top: 30px;
}

.quote-header .nav-pills .nav-link {
    border-radius: var(--radius-pill);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    margin: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-header .nav-pills .nav-link.active {
    background: var(--accent-gradient) !important;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

.quote-header .nav-pills .nav-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.quote-body {
    background: white;
    padding: 50px !important;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.quote-body label {
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.quote-body .form-control {
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #f8fafc;
}

.quote-body .form-control:focus {
    background-color: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.1);
}