/* Modern Theme - Core Styles */
:root {
    /* Colors */
    --primary-color: #0D6EFD;
    /* Blue */
    --primary-light: #64B5F6;
    --primary-dark: #0D47A1;

    --secondary-color: #26C6DA;
    /* Cyan/Blue accent */
    --secondary-dark: #0097A7;

    --accent-color: #FF9800;
    /* Orange for highlights */

    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;

    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --text-white: #ffffff;

    --border-color: #e0e0e0;

    /* Typography */
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shadows relative to Y axis */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: var(--font-main) !important;
    color: var(--text-medium);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Override any potential pink (#E91E63) from old themes */
[style*="#E91E63"],
.text-pink,
.bg-pink {
    color: var(--primary-color) !important;
}

.bg-pink {
    background-color: var(--primary-color) !important;
}

/* Force standard link hover if not overridden */
a:hover {
    color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.d-flex {
    display: flex;
}

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

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

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

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-4 {
    gap: 2rem;
}

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

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

.text-primary {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #e49200;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #e49200;
}

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

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

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

.btn-outline-dark:hover {
    background: #e49200;
    color: white;
    border-color: #e49200;
}

/* Header Styles */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    background-color: transparent;
}

.modern-header.scrolled,
.modern-header.header-white {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.modern-header .navbar-brand img,
.modern-logo {
    height: 130px;
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
    margin-left: -25px;
    /* Pull left */
}

@media (max-width: 991px) {

    .modern-header .navbar-brand img,
    .modern-logo {
        height: 60px;
        max-height: 60px;
        margin-left: 0;
    }
}

.modern-nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 15px;
    position: relative;
    font-size: 16px;
}

.modern-nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #e49200;
    transition: var(--transition-fast);
}

.modern-nav-link:hover:after,
.modern-nav-link.active:after {
    width: 100%;
}

.modern-nav-link:hover {
    color: #e49200;
}

.header-cta-btn {
    padding: 10px 24px;
    font-size: 15px;
}

/* Sections */
.section-padding {
    padding: var(--spacing-lg) 0;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.new-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f0f4f8;
    overflow: hidden;
    padding-top: 80px;
}

.new-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #FFF0F5 0%, #E3F2FD 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #90CAF9;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #64B5F6;
    bottom: -50px;
    left: -100px;
}

.new-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #333 0%, #0D6EFD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Service Cards */
.modern-service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: var(--transition-normal);
    z-index: -2;
}

.modern-service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: -1;
    transition: var(--transition-normal);
}

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

.modern-service-card:hover .modern-service-card-bg {
    opacity: 0.3;
    transform: scale(1.1);
}

.modern-service-card:hover:before {
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.modern-service-card:hover .service-icon-box {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.modern-service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.modern-service-text {
    color: var(--text-medium);
    margin-bottom: 0;
    font-weight: 500;
}

/* Features / About Split */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.split-content {
    flex: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item h4 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.modern-footer {
    background-color: var(--bg-dark);
    color: #e0e0e0;
    padding: 80px 0 30px;
}

.footer-logo {
    filter: brightness(0) invert(1);
    max-width: 180px;
    margin-bottom: 30px;
}

.footer-desc {
    color: #a0a0a0;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links a {
    color: #a0a0a0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #e49200;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

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

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

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

/* Mobile Responsive */
@media (max-width: 991px) {
    .modern-header {
        background-color: white;
        padding: 15px 0;
        box-shadow: var(--shadow-sm);
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .split-section {
        flex-direction: column;
    }

    .split-section.reverse {
        flex-direction: column-reverse;
    }

    .modern-nav-menu {
        display: none;
    }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.float-btn:hover {
    transform: scale(1.1);
    color: white;
}

.float-btn.whatsapp {
    background-color: #25D366;
}

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

.float-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .floating-actions {
        left: auto;
        right: 20px;
        bottom: 80px;
    }
}

/* Modern Dropdown Styles */
.modern-dropdown {
    position: relative;
    display: inline-flex;
    height: 100%;
    align-items: center;
}

.modern-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-dropdown:hover .modern-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.3s ease forwards;
}

.modern-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.modern-dropdown-item:last-child {
    border-bottom: none;
}

.modern-dropdown-item:hover {
    background-color: rgba(228, 146, 0, 0.05);
    color: #e49200;
    padding-left: 25px;
}

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

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