:root {
    /* Brand Colors from Logo */
    --primary-blue: #1E5BA8;      /* Deep blue from logo */
    --light-blue: #3A7BC8;         /* Lighter blue */
    --accent-blue: #5B9BD5;        /* Accent blue */
    --sky-blue: #87CEEB;           /* Light sky blue */
    --navy: #0D3B66;               /* Dark navy */
    --white: #FFFFFF;
    --off-white: #F8FBFF;
    --text-dark: #1A2332;
    --text-light: #6B7280;
    --grey-light: #E5E7EB;
    --success: #10B981;
    --warning: #F59E0B;
    --shadow: rgba(30, 91, 168, 0.1);
    --shadow-lg: rgba(30, 91, 168, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

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

/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1E5BA8 0%, #87CEEB 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.loading-quote {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-style: italic;
    margin: 1rem 0;
    max-width: 300px;
    line-height: 1.4;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.logo-container {
    margin-bottom: 2rem;
    position: relative;
    height: 120px;
}

.walking-feet {
    position: relative;
    width: 280px;
    height: 160px;
    margin: 0 auto;
}

.foot {
    position: absolute;
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.4));
}

.foot-left {
    left: 0;
    animation: walkLeft 1.5s ease-in-out infinite;
}

.foot-right {
    right: 0;
    transform: scaleX(-1); /* Mirror the right foot */
    animation: walkRight 1.5s ease-in-out infinite;
}

@keyframes walkLeft {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(10px) scale(0.95);
    }
    50% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes walkRight {
    0%, 100% {
        opacity: 1;
        transform: scaleX(-1) translateY(0) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scaleX(-1) translateY(10px) scale(0.95);
    }
}

.preloader-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.loading-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    transition: opacity 0.5s ease;
}

.main-content.visible {
    opacity: 1 !important;
}

/* ==================== END PRELOADER ==================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ==================== NAVIGATION ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    min-height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    overflow: visible;
}

.nav-brand {
    display: flex;
    align-items: center;
    z-index: 1001;
    flex-shrink: 0;
    position: relative;
}

.nav-brand .logo {
    height: 65px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link i {
    font-size: 1rem;
    color: var(--primary-blue);
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    transform: translateY(-2px);
}

.nav-link:hover i,
.nav-link.active i {
    color: var(--white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::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.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 91, 168, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 91, 168, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

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

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

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

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

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.05rem;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(30, 91, 168, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(30, 91, 168, 0.6);
    }
}

/* ==================== HERO SECTION ==================== */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
    background: linear-gradient(135deg, var(--off-white) 0%, #E8F4F8 100%);
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(30, 91, 168, 0.1), rgba(91, 155, 213, 0.15));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(91, 155, 213, 0.1), rgba(135, 206, 235, 0.15));
    top: 50%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1), rgba(30, 91, 168, 0.15));
    bottom: 100px;
    left: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(30, 91, 168, 0.08), rgba(91, 155, 213, 0.12));
    bottom: -80px;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-60px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--sky-blue));
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 1rem;  /* Push down from navbar */
    box-shadow: 0 10px 30px rgba(91, 155, 213, 0.3);
    animation: slideInDown 0.8s ease;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--navy);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-intro {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.hero-subtitle-emphasis {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    line-height: 1.5;
    margin: 1rem 0;
    font-style: italic;
}

.services-list {
    background: rgba(30, 91, 168, 0.9);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin: 0.75rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    display: inline-block;
    animation: servicesFadeIn 0.6s ease-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.services-list h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
}

.services-list li {
    color: var(--white);
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-list li:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.services-list li:before {
    content: "✓";
    margin-right: 0.25rem;
    color: var(--accent-blue);
    font-weight: bold;
}

@keyframes servicesFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-highlight {
    background: linear-gradient(135deg, var(--accent-blue), var(--sky-blue));
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: inline-block;
}

.cta-highlight p {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    flex-wrap: nowrap;  /* Keep in one row */
    gap: 2rem;
    margin-top: 1.5rem;
    justify-content: center;  /* Center the items */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-item i {
    color: var(--success);
    font-size: 1.5rem;
}

.hero-image {
    position: relative;
    transform: translateY(-30px);
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.floating-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 500;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-down i {
    font-size: 1.5rem;
}

/* ==================== OBJECTIVES SECTION ==================== */

.objectives-section {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    padding: 5rem 0;
}

.objectives-content {
    max-width: 1200px;
    margin: 0 auto;
}

.objectives-header {
    text-align: center;
    margin-bottom: 4rem;
}

.objectives-header .section-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.objectives-header .section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.objective-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-lg);
    border-color: var(--accent-blue);
}

.objective-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.objective-card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.objective-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.drive-section {
    background: var(--primary-blue);
    padding: 3rem;
    border-radius: 20px;
    color: var(--white);
}

.drive-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.drive-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.drive-item {
    text-align: center;
    flex: 0 0 auto;
    min-width: 200px;
    animation: driveSlideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.drive-item:nth-child(1) { animation-delay: 0.1s; }
.drive-item:nth-child(2) { animation-delay: 0.3s; }
.drive-item:nth-child(3) { animation-delay: 0.5s; }
.drive-item:nth-child(4) { animation-delay: 0.7s; }

.drive-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.drive-icon: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.5s;
}

.drive-item:hover .drive-icon:before {
    left: 100%;
}

.drive-item:hover .drive-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.drive-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    position: relative;
}

.drive-item h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.drive-item:hover h4:after {
    width: 100%;
}

.drive-item p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.drive-item:hover p {
    opacity: 1;
}

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

@media (max-width: 768px) {
    .drive-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .drive-item {
        min-width: auto;
    }
}

/* ==================== QUICK SERVICES MARQUEE ==================== */

.quick-services {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    padding: 1.5rem 0;
    overflow: hidden;
}

.services-marquee {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
    font-size: 1.1rem;
}

.service-item i {
    font-size: 1.5rem;
}

/* ==================== SECTIONS ==================== */

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--sky-blue));
    color: var(--white);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== WHY CHOOSE US ==================== */

.why-choose {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature-card {
    background: var(--off-white);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ==================== SERVICES PREVIEW ==================== */

.services-preview {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.service-card.featured {
    border: 3px solid var(--accent-blue);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    animation: wiggle 1s infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 91, 168, 0.9), rgba(91, 155, 213, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    padding: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.service-list i {
    color: var(--success);
    font-size: 1.1rem;
}

/* ==================== STATS SECTION ==================== */


/* ==================== CTA SECTION ==================== */

.cta-section {
    background: linear-gradient(135deg, var(--navy), var(--primary-blue));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ==================== FOOTER ==================== */

.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 300px;
    width: auto;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-text {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact i {
    color: var(--accent-blue);
    margin-top: 0.25rem;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--accent-blue);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ==================== BACK TO TOP ==================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

/* ==================== ANIMATIONS ==================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-brand {
        left: calc(1rem + 7cm - 8cm);
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px var(--shadow-lg);
        transition: left 0.3s ease;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* ==================== EDUCATION SLIDER ==================== */

.education-slider {
    background: var(--white);
    position: relative;
}

.slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.slide-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--white);
}

.slide-overlay p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 91, 168, 0.9);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    background: var(--off-white);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--grey-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 6px;
}

.education-topics {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.education-topics h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.topic-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px var(--shadow);
}

.topic-item i {
    color: var(--success);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== TEXT LOGO STYLING ==================== */

.brand-text-only {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.footer-brand-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-brand-text .tagline {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-style: italic;
    margin-bottom: 1rem;
}


/* ==================== PAGE HEADER ==================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 50px;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==================== SERVICE DETAIL CARDS ==================== */

.services-detail {
    padding: 4rem 0;
}

.service-detail-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    word-wrap: break-word;
}

@media (max-width: 1024px) {
    .service-detail-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .service-detail-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-detail-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.service-detail-header h2 {
    font-size: 2rem;
    color: var(--primary-blue);
}

.service-detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-detail-content h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin: 1.5rem 0 1rem;
}

.service-detail-content ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.service-detail-content ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.service-detail-content ul li i {
    color: var(--success);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-detail-header h2 {
        font-size: 1.5rem;
    }
}


/* ==================== LOGO IMAGE STYLING ==================== */

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    object-position: center top;
    max-height: 60px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    object-position: center top;
    max-height: 80px;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Crop to show only the logo portion from the educational slides */
.logo-img, .footer-logo-img {
    clip-path: inset(0 0 85% 0); /* Show only top 15% where logo is */
}

@media (max-width: 768px) {
    .logo-img {
        height: 250px;
    }
}


/* ==================== CLEAN LOGO STYLING ==================== */

.logo {
    height: 250px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 250px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Override previous logo styles */
.logo-img, .footer-logo-img {
    clip-path: none !important;
}

@media (max-width: 768px) {
    .logo {
        height: 40px;
    }
    
    .footer-logo {
        height: 250px;
    }
}


/* ==================== EDUCATION PAGE ==================== */

.education-content {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.education-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.education-content h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.education-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.education-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.education-content li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.education-content li strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.education-category {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px var(--shadow);
}

.category-title {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 3px solid var(--accent-blue);
    padding-bottom: 1rem;
}

.category-title i {
    color: var(--accent-blue);
    font-size: 2.5rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.education-card {
    background: var(--off-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.education-card img {
    width: 100%;
    height: auto;
    display: block;
}

.education-card h5 {
    padding: 15px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    background: var(--white);
}

.info-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.info-box h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.info-box .btn:hover {
    background: var(--off-white);
    transform: translateY(-3px);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tip-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px var(--shadow);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.tip-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tip-card p {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
}


/* ==================== MOBILE FIXES FOR ABOUT PAGE ==================== */

@media (max-width: 768px) {
    .about-content .service-detail-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .about-content h2 {
        font-size: 1.5rem !important;
    }
    
    .about-content p {
        font-size: 1rem !important;
    }
    
    .about-content > div > div {
        padding: 1.5rem;
    }
    
    .about-content [style*="display: flex"] {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .about-content [style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
        margin-top: 0 !important;
    }
}

/* General mobile container padding fix */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2rem 0 !important;
    }
}


/* ==================== CONTACT PAGE MOBILE FIX ==================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* ==================== CONTACT PAGE - SMALLER MOBILE ==================== */

@media (max-width: 768px) {
    .contact-grid .service-detail-card {
        padding: 1.5rem;
    }
    
    .contact-grid .service-detail-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-grid .service-detail-card h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-grid .service-detail-card p {
        font-size: 0.9rem;
    }
    
    .contact-grid .service-detail-card i {
        font-size: 1.2rem !important;
    }
    
    .contact-grid input,
    .contact-grid textarea,
    .contact-grid button {
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
    }
    
    .contact-grid textarea {
        rows: 4;
    }
}

@media (max-width: 480px) {
    .contact-grid .service-detail-card {
        padding: 1rem;
    }
    
    .contact-grid .service-detail-card h2 {
        font-size: 1.3rem;
    }
    
    .contact-grid .service-detail-card h4 {
        font-size: 0.95rem;
    }
    
    .contact-grid .service-detail-card p {
        font-size: 0.85rem;
    }
}


/* ==================== BOOKING PAGE MOBILE FIX ==================== */

@media (max-width: 768px) {
    .booking-form-container {
        padding: 1.5rem;
        max-width: 100% !important;
    }
    
    .booking-form-container h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .booking-two-col {
        grid-template-columns: 1fr !important;
    }
    
    .booking-form-container input,
    .booking-form-container select,
    .booking-form-container textarea {
        padding: 0.75rem !important;
        font-size: 0.95rem !important;
    }
    
    .booking-form-container textarea {
        rows: 3;
    }
    
    .booking-form-container .btn {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
    
    .booking-form-container p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .booking-form-container {
        padding: 1rem;
    }
    
    .booking-form-container h2 {
        font-size: 1.3rem;
    }
    
    .booking-form-container input,
    .booking-form-container select,
    .booking-form-container textarea {
        padding: 0.65rem !important;
        font-size: 0.9rem !important;
    }
    
    .booking-form-container .btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
}


/* ==================== SOCIAL MEDIA & WHATSAPP ==================== */

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.social-link.whatsapp {
    background: #25D366;
    color: var(--white);
}

.social-link.whatsapp:hover {
    background: #1fb855;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.social-link.tiktok {
    background: #000000;
    color: var(--white);
}

.social-link.tiktok:hover {
    background: #333333;
}

.social-link.google {
    background: #4285F4;
    color: var(--white);
}

.social-link.google:hover {
    background: #3367D6;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Testimonials Section */
.testimonials {
    background: var(--off-white);
    padding: 5rem 0;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.testimonial-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    color: #FFB800;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    margin: 1rem 0;
}

.testimonial-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.google-reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4285F4;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.google-reviews-btn:hover {
    background: #3367D6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==================== CREATIVE SERVICES LAYOUT ==================== */

/* Creative Services Layout */
.services-creative-layout {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Service Card */
.service-hero-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(30, 91, 168, 0.4);
}

.hero-card-background {
    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="hero-pattern" x="0" y="0" 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(%23hero-pattern)"/></svg>');
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: hero-glow 6s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.6; }
}

.hero-card-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--white);
}

.hero-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.hero-icon-wrapper i {
    font-size: 4rem;
    color: var(--white);
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.5));
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.hero-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    opacity: 0.9;
    max-width: 400px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--sky-blue));
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(46, 125, 175, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(46, 125, 175, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(46, 125, 175, 0.4);
    }
}

/* Specialty Services Grid */
.specialty-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
    .specialty-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .specialty-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.service-specialty-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-specialty-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.specialty-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.service-specialty-card:hover .specialty-gradient {
    opacity: 0.2;
}

.specialty-blue .specialty-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
}

.specialty-green .specialty-gradient {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.specialty-orange .specialty-gradient {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.specialty-purple .specialty-gradient {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.specialty-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-specialty-card:hover .specialty-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.specialty-blue .specialty-icon {
    color: var(--primary-blue);
}

.specialty-green .specialty-icon {
    color: #10b981;
}

.specialty-orange .specialty-icon {
    color: #f59e0b;
}

.specialty-purple .specialty-icon {
    color: #8b5cf6;
}

.specialty-icon i {
    font-size: 2rem;
}

.specialty-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.specialty-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.specialty-content h4 span {
    color: var(--primary-blue);
}

.specialty-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.specialty-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-specialty-card:hover .specialty-accent {
    opacity: 1;
}

/* Advanced Services Showcase */
.advanced-services-showcase {
    background: linear-gradient(135deg, var(--off-white) 0%, #f1f5f9 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.advanced-services-showcase::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="advanced-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(30,91,168,0.05)"/><path d="M20,20 L30,20 L30,30 L20,30 Z" fill="none" stroke="rgba(30,91,168,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23advanced-pattern)"/></svg>');
    opacity: 0.5;
}

.showcase-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.showcase-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.showcase-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.advanced-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.advanced-service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advanced-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-lg);
    border-color: var(--primary-blue);
}

.advanced-icon-bg {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(30, 91, 168, 0.3);
}

.advanced-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.advanced-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Decorative Elements */
.services-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(30,91,168,0.1), rgba(59,130,246,0.05));
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation: float 6s ease-in-out infinite reverse;
}

.decoration-dots {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.decoration-dots::before,
.decoration-dots::after {
    content: '';
    width: 6px;
    height: 6px;
    background: rgba(30,91,168,0.2);
    border-radius: 50%;
}

.dots-1 {
    top: 20%;
    right: 10%;
    animation: dots-float 4s ease-in-out infinite;
}

.dots-2 {
    bottom: 30%;
    left: 15%;
    animation: dots-float 5s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes dots-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

/* ==================== CREATIVE TESTIMONIALS ==================== */

.testimonials-creative-layout {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Featured Testimonial */
.testimonial-featured {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 2px solid rgba(30, 91, 168, 0.1);
}

.testimonial-featured::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="testimonial-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="rgba(30,91,168,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonial-pattern)"/></svg>');
    opacity: 0.5;
}

.featured-quote-mark {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 8rem;
    color: rgba(30, 91, 168, 0.1);
    font-family: 'Georgia', serif;
    line-height: 1;
    z-index: 1;
}

.featured-content {
    position: relative;
    z-index: 2;
}

.featured-text {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0 0 2rem 0;
    position: relative;
    padding-left: 3rem;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.featured-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(30, 91, 168, 0.3);
}

.featured-info h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.featured-rating {
    display: flex;
    gap: 0.25rem;
}

.featured-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.featured-decoration {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.decoration-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}

.decoration-dots {
    display: flex;
    gap: 0.5rem;
}

.decoration-dots::before,
.decoration-dots::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.3;
}

/* Testimonial Carousel */
.testimonials-carousel {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.carousel-slide {
    display: none;
    animation: fadeInSlide 0.5s ease;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeInSlide {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.testimonial-compact {
    padding: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--off-white) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: 15px;
    position: relative;
}

.testimonial-compact::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: rgba(30, 91, 168, 0.1);
    font-family: 'Georgia', serif;
}

.compact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.compact-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(30, 91, 168, 0.3);
}

.compact-info h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.compact-rating {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
}

.compact-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.compact-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
    font-style: italic;
    position: relative;
    z-index: 2;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: var(--white);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 0.75rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30, 91, 168, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}


/* ==================== SERVICES SPECIALIZATION ==================== */

.service-subtitle {
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive override for smaller screens */
@media (max-width: 768px) {
    .specialization-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .specialization-grid {
        gap: 1rem;
    }
}

.specialization-item {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .specialization-item {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .specialization-item {
        padding: 1rem;
    }
}

.specialization-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 91, 168, 0.1);
}

.specialization-item h4 {
    color: var(--primary-blue);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.specialization-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(30, 91, 168, 0.1);
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.4;
}

.specialization-item li:last-child {
    border-bottom: none;
}

.specialization-item li:before {
    content: "•";
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ==================== PRICING SECTIONS ==================== */

.pricing-section {
    margin-top: 2rem;
}

.pricing-category {
    margin-bottom: 3rem;
}

.pricing-category h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Responsive override for smaller screens */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        gap: 1rem;
    }
}

.pricing-item {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

@media (max-width: 768px) {
    .pricing-item {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .pricing-item {
        padding: 1rem;
    }
}

.pricing-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 91, 168, 0.15);
}

.pricing-item h4 {
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.pricing-item p {
    color: var(--text-light);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.pricing-item .item-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(30, 91, 168, 0.3);
}

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

.pricing-item li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
}

.pricing-item li:before {
    content: "•";
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.pricing-item li i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-featured {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .featured-text {
        font-size: 1.2rem;
        padding-left: 2rem;
    }

    .featured-author {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .testimonials-carousel {
        padding: 2rem;
    }

    .testimonial-compact {
        padding: 2rem;
    }

    .compact-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .carousel-nav {
        gap: 1rem;
    }

}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-card-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-text h3 {
        font-size: 2rem;
    }

    .specialty-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advanced-services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }

    .advanced-service-card {
        padding: 1rem 0.75rem !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .advanced-icon-bg {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .advanced-content h5 {
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .advanced-content p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
}

/* ==================== COMPREHENSIVE MOBILE RESPONSIVE FIXES ==================== */

/* ==================== TABLET/IPAD FIXES (769px - 1024px) ==================== */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Navbar adjustments for tablets */
    .navbar .container {
        padding: 0.75rem 1.5rem;
        min-height: 75px;
    }
    
    .nav-brand .logo {
        height: 55px;
        max-width: 170px;
    }
    
    /* Reduce navigation gaps to prevent overflow */
    .nav-menu {
        gap: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    /* Ensure proper flexbox behavior */
    .nav-brand {
        margin-right: auto;
    }
    
    .nav-menu {
        margin-left: 1rem;
        flex-wrap: nowrap;
    }
}

/* ==================== SMALL TABLETS/LARGE PHONES (577px - 768px) ==================== */
@media (max-width: 768px) and (min-width: 577px) {
    /* Show hamburger menu on smaller tablets */
    .mobile-toggle {
        display: flex !important;
    }
    
    .navbar .container {
        padding: 0.75rem 1.25rem;
        min-height: 70px;
    }
    
    .nav-brand .logo {
        height: 52px;
        max-width: 160px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 10px 30px var(--shadow);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        max-height: 600px;
        opacity: 1;
        padding: 1.5rem 1rem;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin: 0.25rem 0;
    }
}

/* Mobile Toggle - Make visible on mobile */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex !important;
    }
    
    /* Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 10px 30px var(--shadow);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        max-height: 600px;
        opacity: 1;
        padding: 1.5rem 1rem;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin: 0.25rem 0;
    }
    
    /* Navbar Container Mobile */
    .navbar .container {
        padding: 0.75rem 1rem;
        min-height: 70px;
    }
    
    .nav-brand .logo {
        height: 50px;
        max-width: 150px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .nav-brand .logo {
        height: 45px;
        max-width: 130px;
    }
}

/* Mobile Toggle Active State */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section Mobile Improvements */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 3rem;  /* Increased from 6rem to 8rem to prevent badge cutoff */
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-features {
        flex-direction: row;
        gap: 1rem;
    }
    
    .feature-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 0 2rem;  /* Increased from 5rem to 7rem */
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
}

/* Section Titles Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* Buttons Mobile */
@media (max-width: 768px) {
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* CTA Section Mobile */
@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Footer Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
        max-width: 150px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
}

/* Floating Elements Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }
    
    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

/* Form Elements Mobile */
@media (max-width: 768px) {
    input,
    textarea,
    select {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

/* Services List Mobile */
@media (max-width: 768px) {
    .services-list {
        margin: 1.5rem 0;
    }
    
    .services-list h4 {
        font-size: 1rem;
    }
    
    .services-list ul {
        font-size: 0.9rem;
    }
}

/* Objectives/Feature Cards Mobile */
@media (max-width: 768px) {
    .objectives-grid,
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .objective-card,
    .feature-card {
        padding: 1.5rem;
    }
}

/* Services Grid Mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* Container Padding Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
}

/* Preloader Mobile */
@media (max-width: 768px) {
    .walking-feet {
        width: 180px !important;
        height: 120px !important;
    }
    
    .foot {
        width: 70px !important;
    }
    
    .loading-text {
        font-size: 1.25rem;
    }
    
    .loading-quote {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* Image Responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure no horizontal scroll */
body, html {
    overflow-x: hidden;
    width: 100%;
}

/* Fix any overflowing content */
* {
    max-width: 100%;
}

/* ==================== IPAD & TABLET SPECIFIC FIXES ==================== */

/* iPad Pro 12.9" and similar large tablets (Landscape) */
@media only screen 
  and (min-width: 1024px) 
  and (max-width: 1366px) 
  and (orientation: landscape) {
    .navbar .container {
        max-width: 100%;
        padding: 0.75rem 2rem;
    }
    
    .nav-brand .logo {
        height: 60px;
        max-width: 180px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* iPad Pro 11" and iPad Air (Landscape) */
@media only screen 
  and (min-width: 834px) 
  and (max-width: 1194px) 
  and (orientation: landscape) {
    .navbar .container {
        padding: 0.75rem 1.5rem;
    }
    
    .nav-brand .logo {
        height: 55px;
        max-width: 170px;
    }
    
    .nav-menu {
        gap: 0.75rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* iPad Mini and standard iPad (Landscape) */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) 
  and (orientation: landscape) {
    .navbar .container {
        padding: 0.75rem 1.25rem;
    }
    
    .nav-brand .logo {
        height: 52px;
        max-width: 160px;
    }
    
    .nav-menu {
        gap: 0.65rem;
    }
    
    .nav-link {
        padding: 0.55rem 0.9rem;
        font-size: 0.82rem;
    }
}

/* iPad and tablets (Portrait) - Use hamburger menu */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) 
  and (orientation: portrait) {
    .mobile-toggle {
        display: flex !important;
    }
    
    .navbar .container {
        padding: 0.75rem 1.5rem;
        min-height: 75px;
    }
    
    .nav-brand .logo {
        height: 55px;
        max-width: 170px;
    }
    
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 10px 30px var(--shadow);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        max-height: 600px;
        opacity: 1;
        padding: 2rem 1.5rem;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1.25rem;
        margin: 0.25rem 0;
        font-size: 1rem;
    }
}

/* Additional safety net for any tablet in any orientation */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Ensure navbar container doesn't overflow */
    .navbar {
        overflow-x: hidden;
    }
    
    .navbar .container {
        position: relative;
        overflow: visible;
    }
    
    /* Prevent logo from escaping */
    .nav-brand {
        position: relative;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
    }
    
    /* Ensure nav menu stays in bounds */
    .nav-menu {
        margin-left: auto;
        margin-right: 0;
    }
}

/* Surface Pro and similar devices */
@media screen 
  and (min-width: 912px) 
  and (max-width: 1368px) {
    .navbar .container {
        max-width: 100%;
    }
    
    .nav-brand .logo {
        height: 58px;
        max-width: 175px;
    }
}

/* Override any absolute positioning that might still exist */
.nav-brand {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
}

/* ==================== SERVICES PAGE CARD FIXES ==================== */

/* Ensure all grids are responsive and don't overflow */
.specialization-grid,
.pricing-grid {
    width: 100%;
    max-width: 100%;
}

/* Prevent any card from overflowing */
.specialization-item,
.pricing-item,
.service-detail-card {
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix text overflow in all cards */
.specialization-item h4,
.specialization-item li,
.pricing-item h4,
.pricing-item p,
.pricing-item li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Mobile fixes for service page */
@media (max-width: 768px) {
    .service-detail-header h2 {
        font-size: 1.5rem;
    }
    
    .service-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .pricing-category h3 {
        font-size: 1.25rem;
        word-wrap: break-word;
    }
    
    .specialization-item h4 {
        font-size: 1rem;
    }
    
    .specialization-item li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .pricing-item h4 {
        font-size: 1rem;
    }
    
    .pricing-item li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .service-detail-header {
        gap: 1rem;
    }
    
    .service-detail-header h2 {
        font-size: 1.35rem;
    }
    
    .service-detail-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }
    
    .pricing-category h3 {
        font-size: 1.1rem;
    }
    
    .specialization-item h4,
    .pricing-item h4 {
        font-size: 0.95rem;
    }
    
    .specialization-item li,
    .pricing-item li {
        font-size: 0.85rem;
    }
}

/* Force proper container behavior on services page */
.services-detail .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: hidden;
}

/* Ensure no horizontal scroll */
.service-detail-content {
    overflow-x: hidden;
    max-width: 100%;
}


/* ==================== MOBILE HERO IMAGE FIX - STRATEGIC POSITIONING ==================== */

@media (max-width: 768px) {
    /* Reorder: Content first, image second */
    .hero-grid {
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        margin-top: 2rem;
        transform: translateY(0) !important;
    }
    
    /* Make image container fit nicely */
    .image-wrapper {
        max-height: 280px;
        overflow: hidden;
        border-radius: 20px;
    }
    
    .floating-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        max-height: 280px;
        animation: none !important; /* Disable floating animation on mobile */
    }
    
    /* Hide decorative badges on mobile */
    .image-badge {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* Smaller image on tiny screens */
    .image-wrapper {
        max-height: 220px;
    }
    
    .floating-image {
        max-height: 220px;
    }
    
    .hero-image {
        margin-top: 1.5rem;
    }
}

/* Optional: Hide image on very tiny screens (under 360px) */
@media (max-width: 360px) {
    .hero-image {
        display: none;
    }
}


/* ==================== IMPROVED MOBILE LAYOUTS ==================== */

/* Better mobile layouts - 2 columns where appropriate */

/* Features grid - 2 columns on larger mobile devices */
@media (min-width: 481px) and (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
}

/* Services grid - 2 columns on larger mobile */
@media (min-width: 481px) and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

/* Team grid - 2 columns on larger mobile */
@media (min-width: 481px) and (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

/* Objectives grid - 2 columns on larger mobile */
@media (min-width: 481px) and (max-width: 768px) {
    .objectives-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

/* Education cards - 2 columns on larger mobile */
@media (min-width: 481px) and (max-width: 768px) {
    .education-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

/* Footer - 2 columns on larger mobile */
@media (min-width: 481px) and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
}

/* Testimonials - 2 columns on larger mobile */
@media (min-width: 481px) and (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Pricing grid - stay 2 columns on tablet, 1 on small mobile */
@media (min-width: 481px) and (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem;
    }
}

/* Specialization grid - 2 columns on larger mobile */
@media (min-width: 481px) and (max-width: 768px) {
    .specialization-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem;
    }
    
    .specialization-item {
        padding: 1.25rem;
    }
    
    .specialization-item h4 {
        font-size: 0.95rem;
    }
    
    .specialization-item li {
        font-size: 0.85rem;
    }
}

/* Hero features - keep horizontal on mobile for space efficiency */
@media (max-width: 768px) {
    .hero-features {
        display: flex !important;
        flex-wrap: nowrap;  /* Keep in one row on mobile too */
        justify-content: center;
        gap: 0.75rem;  /* Smaller gap for mobile */
        flex-wrap: wrap;  
    }
    
    .hero-features .feature-item {
        flex: 0 1 auto;
        min-width: auto;  /* Allow items to shrink on small screens */
        font-size: 0.85rem;  /* Slightly smaller text on mobile */
    }
    
    .hero-features .feature-item i {
        font-size: 1.2rem;  /* Smaller icons on mobile */
    }
}

/* Better readability improvements for mobile */
@media (max-width: 768px) {
    /* Increase line height for better readability */
    body {
        line-height: 1.7;
    }
    
    p {
        line-height: 1.8;
        margin-bottom: 1.25rem;
    }
    
    /* Better heading spacing */
    h1, h2, h3, h4 {
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    /* Card padding adjustments */
    .service-card,
    .feature-card,
    .team-card,
    .objective-card,
    .education-card {
        padding: 1.5rem 1.25rem;
    }
    
    /* Better button sizing */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Small mobile - everything single column */
@media (max-width: 480px) {
    .features-grid,
    .services-grid,
    .team-grid,
    .objectives-grid,
    .testimonials-grid,
    .pricing-grid,
    .specialization-grid {
        grid-template-columns: 1fr !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Contact grid - keep as is (already excluded) */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* ==================== ENHANCED MOBILE LAYOUTS V2 ==================== */

/* BETTER FLOATING IMAGE ANIMATION */
@keyframes floatImageEnhanced {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-15px) scale(1.02);
    }
    50% {
        transform: translateY(-25px) scale(1.03);
    }
    75% {
        transform: translateY(-15px) scale(1.02);
    }
}

.floating-image {
    animation: floatImageEnhanced 8s ease-in-out infinite !important;
    box-shadow: 0 20px 60px rgba(30, 91, 168, 0.3) !important;
}

/* Add pulse effect */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(30, 91, 168, 0.3);
    }
    50% {
        box-shadow: 0 25px 70px rgba(30, 91, 168, 0.5);
    }
}

.image-wrapper {
    animation: pulse 4s ease-in-out infinite;
}

/* COMPACT MOBILE CARDS - 2 COLUMNS ON MOBILE */

/* Objectives Grid - 3 columns on mobile */
@media (max-width: 768px) {
    .objectives-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .objective-card {
        padding: 1rem 0.75rem !important;
    }
    
    .objective-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .objective-card h3 {
        font-size: 0.85rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .objective-card p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
}

/* Drive Grid - 2 columns on mobile */
@media (max-width: 768px) {
    .drive-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .drive-item {
        min-width: unset !important;
    }
    
    .drive-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
    }
    
    .drive-item h4 {
        font-size: 0.95rem !important;
    }
    
    .drive-item p {
        font-size: 0.8rem !important;
    }
}

/* Features Grid - 2 columns on mobile */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .feature-card {
        padding: 1.25rem 1rem !important;
    }
    
    .feature-card i {
        font-size: 2rem !important;
    }
    
    .feature-card h3 {
        font-size: 1rem !important;
        margin: 0.75rem 0 0.5rem !important;
    }
    
    .feature-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}

/* Services Grid - 3 columns on mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .service-card {
        padding: 1rem 0.75rem !important;
    }
    
    .service-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .service-card h3 {
        font-size: 0.85rem !important;
        margin: 0.5rem 0 0.4rem !important;
    }
    
    .service-card p {
        font-size: 0.75rem !important;
    }
    
    .service-card .btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.75rem !important;
    }
}

/* Testimonials - 2 columns on mobile */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .testimonial-card {
        padding: 1.25rem 1rem !important;
    }
    
    .testimonial-text {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .testimonial-author {
        font-size: 0.9rem !important;
    }
    
    .testimonial-rating {
        font-size: 0.85rem !important;
    }
}

/* Team Grid - 2 columns on mobile */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .team-card {
        padding: 1rem !important;
    }
    
    .team-card h3 {
        font-size: 1rem !important;
    }
    
    .team-card p {
        font-size: 0.85rem !important;
    }
}

/* Education Grid - using sliders now, not grid */
@media (max-width: 768px) {
    /* Education grid rules removed - sliders are used instead */
}

/* Pricing Grid - 2 columns on mobile */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .pricing-item {
        padding: 1.25rem 1rem !important;
    }
    
    .pricing-item h4 {
        font-size: 0.95rem !important;
    }
    
    .pricing-item p,
    .pricing-item li {
        font-size: 0.8rem !important;
    }
}

/* Specialization Grid - 2 columns on mobile */
@media (max-width: 768px) {
    .specialization-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .specialization-item {
        padding: 1.25rem 1rem !important;
    }
    
    .specialization-item h4 {
        font-size: 0.95rem !important;
    }
    
    .specialization-item li {
        font-size: 0.8rem !important;
        padding: 0.3rem 0 !important;
    }
}

/* Footer - single column on mobile for better look */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .footer-logo {
        height: 150px !important;
        margin: 0 auto 1rem !important;
        display: block !important;
    }
    
    .footer-col h4 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-links {
        align-items: center !important;
    }
    
    .footer-links li a,
    .footer-contact li {
        font-size: 0.9rem !important;
        justify-content: center !important;
    }
    
    .social-links {
        justify-content: center !important;
    }
    
    .footer-bottom {
        text-align: center !important;
    }
}

/* Small mobile - single column for very small screens */
@media (max-width: 400px) {
    .objectives-grid,
    .services-grid,
    .education-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .drive-grid,
    .features-grid,
    .testimonials-grid,
    .team-grid,
    .pricing-grid,
    .specialization-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Exclude contact grid */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Better mobile readability */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
    }
}


/* ==================== SPECIFIC SECTION COLUMN FIXES ==================== */

/* Additional Services - 3 columns on mobile */
@media (max-width: 768px) {
    .advanced-services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .advanced-service-card {
        padding: 1rem 0.75rem !important;
    }
    
    .advanced-icon-bg {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .advanced-content h5 {
        font-size: 0.85rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .advanced-content p {
        font-size: 0.75rem !important;
    }
}

/* Topics Covered - 3 columns on mobile */
@media (max-width: 768px) {
    .topics-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    .topic-item {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.4rem !important;
    }
    
    .topic-item i {
        font-size: 0.85rem !important;
    }
}

/* What Our Patients Say (Testimonials) - 2 columns on mobile - ALREADY SET ABOVE */
/* This is already configured as 2 columns in the earlier CSS */


/* ==================== SERVICES PAGE SPECIFIC FIXES ==================== */

/* Medical Pedicure and Wound Management - Single column on mobile */
@media (max-width: 768px) {
    .pricing-grid-single {
        grid-template-columns: 1fr !important;
    }
}

/* Triangle layout for odd number of cards in 2-column grids */
@media (max-width: 768px) {
    /* Pricing grid with 3 items - triangle style */
    .pricing-grid:not(.pricing-grid-single) {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    /* Center the last odd item */
    .pricing-grid:not(.pricing-grid-single) .pricing-item:nth-child(2n+1):last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
    
    /* Specialization grid with odd items - triangle style */
    .specialization-grid .specialization-item:nth-child(2n+1):last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* Education page - change from 3 columns to 2 columns on mobile */
@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .education-card {
        padding: 1.25rem 1rem !important;
    }
    
    .education-card h3 {
        font-size: 0.95rem !important;
    }
    
    .education-card p {
        font-size: 0.85rem !important;
    }
}


/* ==================== SERVICES & EDUCATION PAGE LAYOUT FIXES ==================== */

/* Single column for Medical Pedicure and Wound Management on mobile */
@media (max-width: 768px) {
    .pricing-grid-single {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .pricing-grid-single .pricing-item {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Triangle layout for odd number of items in 2-column grids */
@media (max-width: 768px) {
    /* When pricing-grid has 3 items, center the 3rd one */
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    /* Center odd items (3rd, 5th, etc.) */
    .pricing-grid .pricing-item:nth-child(2n+1):last-child {
        grid-column: 1 / -1 !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Same for specialization grid */
    .specialization-grid .specialization-item:nth-child(2n+1):last-child {
        grid-column: 1 / -1 !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Same for other grids with odd items */
    .objectives-grid .objective-card:nth-child(3n+1):last-child:nth-child(n+4),
    .objectives-grid .objective-card:nth-child(3n+2):last-child:nth-child(n+5) {
        grid-column: 2 / 3 !important;
    }
    
    .services-grid .service-card:nth-child(3n+1):last-child:nth-child(n+4),
    .services-grid .service-card:nth-child(3n+2):last-child:nth-child(n+5) {
        grid-column: 2 / 3 !important;
    }
}

/* Education page - sliders are used now, not grid */
@media (max-width: 768px) {
    /* Old education-grid rules removed - using sliders now */
}


/* ==================== EDUCATION PAGE SLIDER ==================== */

.education-slider-container {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    background: var(--white);
}

.education-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    border-radius: 20px 20px 0 0;
}

.education-slide {
    min-width: 100%;
    position: relative;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.education-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px 20px 0 0;
    object-fit: contain;
    max-height: 600px;
    background: white;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 4rem 2rem 1.5rem;
    text-align: center;
}

.slide-caption h5 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 91, 168, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(30, 91, 168, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: relative;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 15px 0;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    margin: 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30, 91, 168, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 6px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .education-slider-container {
        max-width: 100%;
        margin: 1.5rem 0;
    }
    
    .education-slide {
        min-height: 300px;
    }
    
    .education-slide img {
        max-height: 400px;
    }
    
    .slide-caption {
        padding: 3rem 1.5rem 1rem;
    }
    
    .slide-caption h5 {
        font-size: 1.1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}


/* ==================== LOGO STYLING - NAVBAR, HERO & FOOTER ==================== */

/* NAVBAR LOGO - Rounded edges */
.nav-brand .logo {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-brand .logo:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* FOOTER LOGO - Rounded edges */
.footer-logo img,
.footer-logo-img {
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* HERO LOGO CONTAINER - Push down from navbar */
.hero-logo-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* HERO LOGO - Rounded edges and proper spacing */
.hero-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    
    /* Rounded edges */
    border-radius: 30px;
    
    /* Shadow for depth */
    box-shadow: 0 10px 40px rgba(30, 91, 168, 0.3);
    
    /* Smooth transitions */
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(30, 91, 168, 0.4);
}

/* Mobile responsive for hero logo */
@media (max-width: 768px) {
    .hero-logo-container {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo {
        max-width: 100%;
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .hero-logo-container {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-logo {
        max-width: 100%;
        border-radius: 20px;
    }
}

/* Animation for logo */
.animate-fade-slide-up {
    animation: fadeSlideUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== END LOGO STYLING ==================== */


/* ==================== ADDITIONAL ROUNDED EDGES FIXES ==================== */

/* Footer logo img tag - ensure rounded edges */
img.footer-logo {
    border-radius: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Hero badge - extra margin top for mobile to avoid navbar overlap */
@media (max-width: 768px) {
    .hero-badge {
        margin-top: 1.5rem;
    }
}

/* ==================== END ROUNDED EDGES FIXES ==================== */


/* ==================== HERO BADGE ANIMATION FIX ==================== */

/* Add the missing slideInDown keyframes animation */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure badge is animated and visible on all devices */
.hero-badge {
    animation: slideInDown 0.8s ease forwards !important;
    opacity: 0;  /* Start invisible for animation */
}

/* Extra spacing on mobile to prevent navbar overlap */
@media (max-width: 768px) {
    .hero-badge {
        margin-top: 2rem;  /* Increased from 1.5rem */
        font-size: 0.85rem;  /* Slightly smaller on mobile */
        padding: 0.65rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        margin-top: 2.5rem;  /* Even more space on small mobile */
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
}

/* Ensure badge animation plays with proper delay */
.animate-fade-slide-up[style*="animation-delay: 0.2s"] {
    animation-delay: 0.2s !important;
}

/* ==================== END HERO BADGE ANIMATION FIX ==================== */

