/* CSS Variables */
:root {
    --primary-color: #2A4779;
    --secondary-color: #E0425B;
    --accent-color: #F27063;
    --text-color: #000000;
    --text-muted: #666666;
    --bg-color: #FFFFFF;
    --light-bg: #f8f9fa;
    --gray-bg: #f4f6f9;
    --gray-text: #333333;
    --gray-light-bg: #fdfdfd;
    --gray-border: #e1e4e8;
    --gradient-primary: linear-gradient(135deg, #2A4779 0%, #1a2f4f 100%);
    --gradient-secondary: linear-gradient(135deg, #E0425B 0%, #c02345 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    margin: 0;
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    padding: 5px 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1120;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar.scrolled {
    transform: translateY(-100%);
    opacity: 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 6px 12px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.top-bar-item:hover {
    transform: translateX(5px);
}

.top-bar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.top-bar-item:hover::before {
    left: 0;
}

.top-bar-item i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.top-bar-item:hover i {
    transform: scale(1.2);
}

.top-bar-item span {
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.top-bar-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(224, 66, 91, 0.4);
}

.top-bar-social::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--secondary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.top-bar-social:hover::before {
    width: 100%;
    height: 100%;
}

.top-bar-social i {
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    margin-top: 2px;
}

.top-bar-social:hover i {
    transform: rotate(360deg);
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header.scrolled {
    top: 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.header.scrolled .logo {
    height: 42px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Animated underline for links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    max-height: 450px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    list-style: none;
    font-size: 0.9rem;
    padding: 10px 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 25px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
    color: var(--primary-color);
    display: block;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(224, 66, 91, 0.05) 0%, transparent 100%);
    color: var(--secondary-color);
    padding-left: 28px;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: height 0.3s ease;
}

.dropdown-item:hover::before {
    height: 100%;
}

/* Hamburger Menu */
.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1004;
}

.navbar-toggler:hover {
    background: rgba(42, 71, 121, 0.05);
}

.hamburger {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
    position: relative;
}

.navbar-toggler.active .hamburger {
    background: var(--secondary-color);
}

.navbar-toggler.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 10px);
}

.navbar-toggler.active .hamburger:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.navbar-toggler.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -6px);
}

/* Mobile Sidebar */
.mobile-overlay {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1200;
    pointer-events: none;
}

.mobile-overlay.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    box-shadow: 2px 0 18px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1210;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-sidebar .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-sidebar .sidebar-header h2 {
    color: #fff;
    font-size: 15px;
    margin: 0;
    letter-spacing: 1px;
}

.mobile-sidebar .close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* Sliding Menu Container With Multiple Pages */
.mobile-sidebar .menu-container {
    display: flex;
    width: 400%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    flex: 1;
    overflow: hidden;
}

/* Each Menu Page */
.mobile-sidebar .menu-page {
    width: 25%;
    padding: 8px 0;
    overflow-y: auto;
}

.mobile-sidebar .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-sidebar .menu-list li {
    height: 52px;
    display: flex;
    align-items: center;
    margin: 4px 8px;
    border-radius: 8px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-sidebar .menu-list button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.mobile-sidebar .menu-list button[data-action="submenu"]::after {
    content: '›';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.92);
    font-size: 22px;
    line-height: 1;
    flex: 0 0 32px;
    transition: background 260ms cubic-bezier(.2, .9, .3, 1),
        transform 260ms cubic-bezier(.2, .9, .3, 1),
        box-shadow 260ms ease;
    margin-left: 8px;
    box-shadow: none;
}

.mobile-sidebar .menu-list button[data-action="submenu"]:hover::after {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateX(6px);
    box-shadow: 0 10px 24px rgba(224, 66, 91, 0.18);
    color: #fff;
}

.mobile-sidebar .menu-list button[data-action="submenu"]:hover,
.mobile-sidebar .menu-list button:not([data-action="submenu"]):hover {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
}

.sidebar-header .back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.sidebar-header .back-btn::before {
    content: '‹';
    display: inline-block;
    font-size: 22px;
    line-height: 1;
    transform: none;
    transition: transform 220ms cubic-bezier(.2, .9, .3, 1);
}

.sidebar-header .back-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateX(-2px);
    box-shadow: 0 8px 20px rgba(224, 66, 91, 0.12);
    color: #fff;
}

.sidebar-header .close-btn::after {
    content: '✕';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1;
    transition: background 260ms cubic-bezier(.2, .9, .3, 1), transform 260ms cubic-bezier(.2, .9, .3, 1), box-shadow 260ms ease;
}

.sidebar-header .close-btn:hover::after {
    background: linear-gradient(135deg, #333 0%, var(--secondary-color) 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 24px rgba(224, 66, 91, 0.16);
    color: #fff;
}

.mobile-sidebar[data-level="0"] .menu-container {
    transform: translateX(0%);
}

.mobile-sidebar[data-level="1"] .menu-container {
    transform: translateX(-25%);
}

.mobile-sidebar[data-level="2"] .menu-container {
    transform: translateX(-50%);
}

.mobile-sidebar[data-level="3"] .menu-container {
    transform: translateX(-75%);
}

.mobile-sidebar .menu-list button:focus,
.mobile-sidebar .close-btn:focus,
.mobile-sidebar .back-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.15);
    outline-offset: 2px;
}

/* Floating Button Icons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 82px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.fab-gmb {
    background: linear-gradient(135deg, #FFD93D 0%, #FF7A00 100%);
}

.fab-gmb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-gmb:hover img {
    transform: rotate(30deg);
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.fab-call {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: rotate(90deg);
}

.fab-btn i {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.fab-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.6;
    z-index: -1;
    transform: scale(1);
    animation: pulse 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.fab-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.fab-btn:hover::before {
    animation: none;
}

.fab-btn:hover i {
    transform: rotate(15deg);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    z-index: 10000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(20px) scale(0.8);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.6;
    z-index: -1;
    transform: scale(1);
    animation: pulse 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.scroll-to-top:hover .scroll-btn::before {
    animation: none;
}

.scroll-btn {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow:
        0 6px 20px rgba(42, 71, 121, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 18px;
    overflow: visible;
}

.scroll-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    pointer-events: none;
    border-radius: 50%;
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.2s ease-out;
    stroke-dasharray: 132;
    stroke-dashoffset: 132;
    stroke-linecap: round;
    stroke-width: 5;
    stroke: rgba(255, 255, 255, 0.95);
    fill: none;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.4));
}

.scroll-btn i {
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover .scroll-btn i {
    transform: rotate(-45deg);
}

.scroll-to-top:active {
    transform: translateY(-4px) scale(1.02);
}

.scroll-to-top:active .scroll-btn {
    box-shadow:
        0 6px 20px rgba(224, 66, 91, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.15);
}

/*Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.hero-content p {
    font-size: 1.3rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* Each Section Badge */
.section-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: #fff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Home Page */
.hero-section.home-hero {
    min-height: auto;
    display: block;
}

/* Home Welcome Section */
.welcome-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #ededed 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 71, 121, 0.05) 0%, rgba(224, 66, 91, 0.05) 100%);
    border-radius: 50% 0 0 50%;
}

.welcome-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.welcome-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Home Specialist Section */
.specialist-section {
    padding: 70px 0;
    background: #fff;
}

.specialist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.specialist-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.specialist-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.specialist-content h5 {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.specialist-list {
    list-style: none;
    margin: 20px 0;
}

.specialist-list li {
    padding: 7px 0;
    font-size: 1.05rem;
    color: var(--text-color);
}

.specialist-list li i {
    color: #28a745;
    margin-right: 12px;
    font-size: 1.2rem;
}

.read-profile-btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.read-profile-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Home Services Grid */
.our-services {
    padding: 70px 0;
    background-color: var(--light-bg);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 35px;
    margin-top: 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.lear-more-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.view-services-btn {
    display: inline-block;
    padding: 12px 35px;
    margin-top: 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(224, 66, 91, 0.3);
}

.view-services-btn:hover {
    background: var(--gradient-primary);
    box-shadow: 0 6px 20px rgba(42, 71, 121, 0.4);
    transform: translateY(-2px);
}

/* Home Why Choose Section */
.why-choose {
    padding: 70px 0;
    background-color: #fff;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.36s ease;
    position: relative;
    overflow: hidden;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.12);
}

.why-item i {
    display: inline-grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.why-item:hover::after {
    transform: scaleX(1);
}

.why-item:hover i {
    transform: scale(1.1);
}

.why-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Home Testimonials */
.testimonials {
    padding: 70px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonials-grid h4 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Home CTA Sections */
.cta-section {
    position: relative;
    padding: 70px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
}

.cta-section.cta-1 {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/cta-bg.jpg');
}

.cta-section.cta-2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.cta-btn {
    display: inline-block;
    border-radius: 50px;
    font-weight: 700;
    padding: 15px 45px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    background: #fff;
    color: var(--primary-color);
}

.cta-btn:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Home FAQ */
.faqs {
    padding: 70px 0;
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    width: 100%;
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button:hover {
    background-color: var(--light-bg);
}

.accordion-button.active {
    background: var(--gradient-primary);
    color: #fff;
}

.accordion-button i {
    transition: transform 0.3s ease;
}

.accordion-button.active i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 20px 25px;
    background-color: var(--light-bg);
    color: var(--text-muted);
    line-height: 1.8;
    display: none;
}

.accordion-body.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

/* About Page */

/* Hero Section */
.hero-section.about-hero {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/hero-about.jpg');
}

/* Profile Section */
.about-profile-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #ffffff 0%, #fbfcff 100%);
}

.about-profile-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: center;
}

.about-profile-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.about-profile-content h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(42, 71, 121, 0.08);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(42, 71, 121, 0.08);
    transform: translateY(-3px);
}

.highlight-item i {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.highlight-item h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 1rem;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Qualifications Section */
.about-qualifications-section {
    padding: 70px 0;
    background-color: var(--light-bg);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-qualification-card {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(16, 24, 40, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.about-qualification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-qualification-card:hover::before {
    transform: scaleX(1);
}

.about-qualification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(42, 71, 121, 0.12);
}

.qual-icon {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(224, 66, 91, 0.1) 0%, rgba(42, 71, 121, 0.06) 100%);
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.about-qualification-card:hover .qual-icon {
    background: linear-gradient(135deg, rgba(224, 66, 91, 0.15) 0%, rgba(42, 71, 121, 0.1) 100%);
    transform: scale(1.1);
}

/* Experience Section*/
.about-expertise-section {
    padding: 70px 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.expertise-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.expertise-header i {
    font-size: 1.6rem;
    color: var(--secondary-color);
    min-width: 30px;
}

.expertise-header .card-title {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.about-expertise-card .specialist-list li {
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.about-expertise-card .specialist-list li:hover {
    transform: translateX(5px);
}

/* CTA section */
.about-cta-section {
    padding: 70px 0;
}

/* Philosophy section */
.about-philosophy-section {
    padding: 70px 0;
    background-color: var(--light-bg);
}

.philosophy-quote {
    max-width: 900px;
    margin: 40px auto;
    padding: 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(16, 24, 40, 0.08);
    position: relative;
}

.philosophy-quote i {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.philosophy-quote p.lead {
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 20px;
}

.philosophy-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(42, 71, 121, 0.1);
}

.value-icon {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(224, 66, 91, 0.1) 0%, rgba(42, 71, 121, 0.06) 100%);
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin: 0 auto 18px;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    transform: scale(1.15) rotate(10deg);
}

.value-item h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Facilities Section */
.about-facilities-section {
    padding: 70px 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-facility-card {
    background: linear-gradient(135deg, #ffffff 0%, #fbfcff 100%);
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(16, 24, 40, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.about-facility-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.about-facility-card:hover::after {
    transform: scaleX(1);
}

.about-facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(42, 71, 121, 0.12);
}

.facility-icon {
    display: inline-grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(224, 66, 91, 0.08) 0%, rgba(42, 71, 121, 0.04) 100%);
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.about-facility-card:hover .facility-icon {
    transform: scale(1.15);
    background: linear-gradient(135deg, rgba(224, 66, 91, 0.15) 0%, rgba(42, 71, 121, 0.08) 100%);
}

.about-facility-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.15rem;
}

.about-facility-card .card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Pages */
.srv-section {
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.hero-section.normal-delivery {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/services/normal-delivery.jpg');
}

.hero-section.painless-normal-delivery {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/services/painless-normal-delivery.jpg');
}

.hero-section.infertility-treatment {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/services/infertility-treatment.jpg');
}

.hero-section.male-infertility {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/services/male-infertility.jpg');
}

.hero-section.pcos-treatment {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/services/pcos-treatment.jpg');
}

.hero-section.gynecological-problems {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/services/gynaecological-problems.jpg');
}

.hero-section.menstrual-problems {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/services/menstrual-problems.jpg');
}

.hero-section.hysterectomy {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/services/hysterectomy.jpg');
}

.hero-section.family-planning {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/services/family-planning.jpg');
}

.srv-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.srv-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.srv-text {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.srv-btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
}

.srv-btn-primary {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(224, 66, 91, 0.3);
}

.srv-btn-primary:hover {
    background: #c02345;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 66, 91, 0.4);
    color: #fff;
}

.srv-image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.srv-image-box img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.srv-image-box:hover img {
    transform: scale(1.05);
}

.srv-section.bg-gray {
    background-color: var(--gray-bg);
}

.srv-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.srv-card {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.srv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--secondary-color);
}

.srv-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(42, 71, 121, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.srv-card:hover .srv-card-icon {
    background: var(--primary-color);
    color: #fff;
}

.srv-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.srv-card-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section.normal-delivery {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/services/normal-delivery.jpg');
}

.cta-section.painless-normal-delivery {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/services/painless-normal-delivery.jpg');
}

.cta-section.infertility-treatment {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/services/infertility-treatment.jpg');
}

.cta-section.male-infertility {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/services/male-infertility.jpg');
}

.cta-section.pcos-treatment {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/services/pcos-treatment.jpg');
}

.cta-section.gynecological-problems {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/services/gynaecological-problems.jpg');
}

.cta-section.menstrual-problems {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/services/menstrual-problems.jpg');
}

.cta-section.hysterectomy {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/services/hysterectomy.jpg');
}

.cta-section.family-planning {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.5) 0%, rgba(224, 66, 91, 0.4) 100%),
        url('/images/services/family-planning.jpg');
}

.srv-features {
    list-style: none;
    padding: 0;
}

.srv-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--gray-text);
}

.srv-features li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Blog Page */
.hero-section.blog-hero {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/hero-blog.jpg');
}

.blog-section {
    background-color: #f8f9fa;
    padding: 70px 0;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(42, 71, 121, 0.12);
}

.blog-card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.15);
}

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.blog-card-body {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 15px;
    font-weight: 500;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--secondary-color);
}

.blog-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 0.95rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: var(--secondary-color);
}

.blog-read-more:hover i {
    transform: translateX(6px);
}

/* Gallery Page */
.hero-section.gallery-hero {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%),
        url('/images/hero-gallery.jpg');
}

.gallery-section {
    padding: 70px 0;
    background-color: #f8f9fa;
}

.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 35px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    outline: none;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(42, 71, 121, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.gallery-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.gallery-card:hover {
    box-shadow: 0 25px 50px rgba(42, 71, 121, 0.15);
}

.gallery-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* Image Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: lightboxZoom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#lightboxCaption {
    margin: 20px auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    animation: fadeIn 0.5s ease 0.2s forwards;
    opacity: 0;
}

#lightboxCaption h3 {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

#lightboxCaption p {
    font-size: 1rem;
    font-weight: 300;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover,
.close-modal:focus {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-overlay i {
    color: #fff;
    font-size: 2rem;
    margin-left: 4px;
}

.gallery-card:hover .video-overlay {
    background: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalZoom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-video:hover {
    color: var(--secondary-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* News & Media Page */
.hero-section.news-hero {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.6) 0%, rgba(224, 66, 91, 0.5) 100%),
        url('/images/hero-news.jpg');
}

.news-section {
    padding: 70px 0;
    background-color: #f8f9fa;
}

.news-mixed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
}

.news-mixed-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.news-mixed-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.news-mixed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(42, 71, 121, 0.2);
}

.news-mixed-card.overlay-card {
    overflow: hidden;
}

.news-mixed-card.overlay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: left 0.75s;
    pointer-events: none;
}

.news-mixed-card.overlay-card:hover::before {
    left: 125%;
}

.news-mixed-img-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.news-mixed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.news-mixed-card:hover .news-mixed-img {
    transform: scale(1.1);
}

.news-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

.news-mixed-card.overlay-card:hover .news-overlay-gradient {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-mixed-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.news-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta i {
    color: var(--primary-color);
}

.news-mixed-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--gray-border);
}

.news-mixed-excerpt {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
    color: rgba(255, 255, 255, 0.85);
}

.read-more-link:hover {
    gap: 12px;
    text-decoration: none;
}

.news-floating-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-floating-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: -1;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.news-floating-card:hover::after {
    box-shadow: 0 20px 50px rgba(42, 71, 121, 0.15);
}

.news-floating-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    box-shadow: none;
    z-index: 1;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.news-floating-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: left 0.75s;
    pointer-events: none;
}

.news-floating-card:hover .news-floating-img-wrapper::before {
    left: 125%;
}

.news-floating-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-floating-card:hover .news-floating-img {
    transform: scale(1.1);
}

.news-floating-content {
    position: relative;
    background: #fff;
    padding: 20px;
    z-index: 2;
    transition: all 0.4s ease;
    border-radius: 10px;
}

.news-floating-card:hover .news-floating-content {
    transform: none;
    box-shadow: none;
}

.news-floating-meta {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-floating-meta i {
    color: var(--secondary-color);
}

.news-floating-title {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-floating-card:hover .news-floating-title {
    color: var(--secondary-color);
}

.news-floating-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link-floating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-more-link-floating:hover {
    gap: 12px;
    color: var(--primary-color);
}

.news-floating-card .news-badge {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Contact Page */
.hero-section.contact-hero {
    background-image: linear-gradient(135deg, rgba(42, 71, 121, 0.4) 0%, rgba(224, 66, 91, 0.3) 100%), url(/images/hero-contact.jpg);
}

.contact-page {
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(224, 66, 91, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatShape 20s ease-in-out infinite;
}

.contact-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 71, 121, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatShape 25s ease-in-out infinite reverse;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.contact-info-wrapper {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-info-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contact-info-card .card-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-info-card .card-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-card .card-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info-item:hover {
    background: linear-gradient(135deg, rgba(42, 71, 121, 0.05) 0%, rgba(224, 66, 91, 0.05) 100%);
    transform: translateX(8px);
}

.info-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 71, 121, 0.2);
}

.contact-info-item:hover .info-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(224, 66, 91, 0.3);
}

.info-icon-wrapper i {
    color: #ffffff;
    font-size: 1.4rem;
}

.info-content h6 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-social-section {
    margin-top: 20px;
    padding: 30px 15px 0 15px;
    border-top: 2px solid #f0f0f0;
}

.social-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.contact-social-links {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.contact-social-icon:hover::before {
    width: 80px;
    height: 80px;
}

.contact-social-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact-social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.contact-social-icon:hover i {
    transform: rotate(360deg);
}

.contact-social-icon.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c5ec7 100%);
}

.contact-social-icon.instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
}

.contact-social-icon.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.contact-social-icon.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.contact-social-icon.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.contact-social-icon:active {
    transform: translateY(-6px) scale(1.05);
}

.contact-form-wrapper {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.2s;
}

.contact-form-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.contact-form-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contact-form-card .form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-form-card .form-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-form-card .form-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.contact-form-card .form-group {
    margin-bottom: 25px;
}

.contact-form-card .form-group label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.contact-form-card .form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-color);
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Outfit', sans-serif;
}

.contact-form-card .form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(224, 66, 91, 0.1);
    transform: translateY(-2px);
}

.contact-form-card .form-input::placeholder {
    color: #aaa;
}

.contact-form-card textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card .form-actions {
    margin-top: 30px;
}

.contact-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(42, 71, 121, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.contact-submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(224, 66, 91, 0.4);
}

.contact-submit-btn:active {
    transform: translateY(-2px);
}

.contact-submit-btn .btn-text,
.contact-submit-btn i {
    position: relative;
    z-index: 1;
}

.contact-submit-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(5px);
}

.contact-map-wrapper {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.4s;
    position: relative;
    z-index: 2;
}

.contact-map-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-map-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-map-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contact-map-card .map-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-frame {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
    transition: all 0.3s ease;
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.contact-modal.active .modal-overlay {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 25px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(-50px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-modal .modal-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

.error-modal .modal-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff6b6b 100%);
    box-shadow: 0 10px 30px rgba(224, 66, 91, 0.3);
}

.modal-icon i {
    font-size: 3rem;
    color: #ffffff;
}

.modal-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: slideUp 0.6s ease 0.3s backwards;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: slideUp 0.6s ease 0.4s backwards;
}

.modal-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(42, 71, 121, 0.3);
    animation: slideUp 0.6s ease 0.5s backwards;
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(224, 66, 91, 0.4);
}

.modal-btn:active {
    transform: translateY(-1px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(224, 66, 91, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.modal-close:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-close i {
    font-size: 1.2rem;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover::after {
    transform: scaleX(1);
}

.card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
}

.card-text {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #18191a 0%, #20232a 100%);
    color: #e4e6eb;
    position: relative;
    padding: 80px 0 30px;
    font-size: 0.95rem;
    overflow: hidden;
    margin-top: auto;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(89, 46, 150, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(231, 50, 140, 0.05) 0%, transparent 20%);
    pointer-events: none;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footer-desc {
    color: #b0b3b8;
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-motto {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(231, 50, 140, 0.4);
}

.footer-heading {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(231, 50, 140, 0.3);
}

.small-icon {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-links a:hover .small-icon {
    opacity: 1;
    color: var(--secondary-color);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: #b0b3b8;
    line-height: 1.5;
}

.contact-icon {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-list a {
    color: #b0b3b8;
    transition: color 0.3s ease;
    align-self: center;
}

.contact-list a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #888;
    font-size: 0.9rem;
}

.designer-credit i {
    color: var(--secondary-color);
}

/* Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.py-5 {
    padding: 70px 0;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 30px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 30px;
}

.me-2 {
    margin-right: 10px;
}

.me-3 {
    margin-right: 15px;
}

.ms-2 {
    margin-left: 10px;
}

.ms-4 {
    margin-left: 30px;
}

.px-3 {
    padding-left: 15px;
    padding-right: 15px;
}

.px-4 {
    padding-left: 30px;
    padding-right: 30px;
}

.px-5 {
    padding-left: 50px;
    padding-right: 50px;
}

.py-2 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.fs-1 {
    font-size: 3rem;
}

.fs-5 {
    font-size: 1.25rem;
}

.fw-bold {
    font-weight: 700;
}

.fst-italic {
    font-style: italic;
}

.lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

.small {
    font-size: 0.9rem;
}

.d-flex {
    display: flex;
}

.gap-3 {
    gap: 15px;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-muted {
    color: var(--text-muted);
}

.text-warning {
    color: #ffc107;
}

.text-success {
    color: #28a745;
}

.text-secondary {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1024px) {

    /* Header */
    .navbar-nav {
        display: none;
    }

    /* Hamburger Menu */
    .navbar-toggler {
        display: flex;
    }

    /* Home Page */
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .specialist-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    /* About Page */
    .about-profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .about-qualifications-section,
    .about-expertise-section,
    .about-facilities-section,
    .about-philosophy-section,
    .about-profile-section {
        padding: 60px 0;
    }

    .value-item {
        padding: 20px;
    }

    .highlight-item {
        grid-template-columns: 1fr;
    }

    .about-profile-content h2 {
        font-size: 2rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .philosophy-quote {
        padding: 30px;
    }

    .philosophy-quote p.lead {
        font-size: 1.15rem;
    }

    .facility-icon,
    .qual-icon,
    .value-icon {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }

    /* Service Pages */
    .srv-section {
        padding: 60px 0;
    }

    .srv-grid-2 {
        grid-template-columns: 1fr;
    }

    /* News & Media Page */
    .news-mixed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-wrapper,
    .contact-form-wrapper {
        transform: translateY(30px);
    }

    .contact-info-wrapper.visible,
    .contact-form-wrapper.visible {
        transform: translateY(0);
    }

    .contact-info-card,
    .contact-form-card {
        padding: 30px;
    }

    .contact-info-card .card-header h3,
    .contact-form-card .form-header h3 {
        font-size: 1.6rem;
    }

    .contact-map-card {
        padding: 30px;
    }

    .contact-map-card .map-title {
        font-size: 1.6rem;
    }

    .map-frame {
        height: 350px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    /* Page Loader  */
    .loader-spinner {
        width: 90px;
        height: 90px;
    }

    .spinner-ring {
        border-width: 3px;
    }

    /* Top Bar */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-left {
        display: none;
    }

    .top-bar-content {
        justify-content: center;
    }

    .top-bar-social i {
        margin-top: 1px;
    }

    /* Header */
    .header.scrolled {
        padding: 10px 0;
    }

    .logo {
        height: 42px;
    }

    .header.scrolled .logo {
        height: 36px;
    }

    /* Floating Button Icons */
    .floating-buttons {
        right: 15px;
        bottom: 76px;
        gap: 12px;
    }

    .fab-btn {
        width: 48px;
        height: 48px;
    }

    /* Scroll to Top Button */
    .scroll-to-top {
        width: 48px;
        height: 48px;
        right: 15px;
        bottom: 15px;
    }

    /* Hero Section */
    .hero-section {
        min-height: 50vh;
    }

    /* Home Page */
    .section-title {
        font-size: 2rem;
    }

    .contact-page .info-icon {
        width: 44px;
        height: 44px;
    }

    /* Service Pages */
    .srv-title {
        font-size: 2rem;
    }

    .srv-btn {
        width: 100%;
        text-align: center;
    }

    .blog-card-img-wrapper {
        height: 220px;
    }

    .blog-card-body {
        padding: 25px;
    }

    /* Gallery Page */
    .gallery-img-wrapper {
        height: 250px;
    }

    .close-modal {
        top: 20px;
        right: 15px;
        font-size: 30px;
    }

    #lightboxCaption h3 {
        font-size: 1.2rem;
    }

    #lightboxCaption p {
        font-size: 0.9rem;
    }

    .close-video {
        top: -50px;
        right: 0px;
        font-size: 30px;
    }

    /* News & Media Page */
    .news-mixed-grid {
        grid-template-columns: 1fr;
    }

    .news-mixed-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .news-mixed-card {
        min-height: auto;
    }

    .news-mixed-img-wrapper {
        height: 250px !important;
    }

    .news-mixed-content {
        position: relative;
        background: #fff;
        padding: 20px;
    }

    .read-more-link {
        color: var(--secondary-color);
    }

    .news-floating-content {
        padding: 15px;
    }

    .news-mixed-excerpt,
    .news-meta {
        color: #333 !important;
    }

    .news-mixed-title {
        color: var(--primary-color);
    }

    /* Contact Page */
    .contact-page {
        padding: 60px 0;
    }

    .contact-grid {
        gap: 25px;
    }

    .contact-info-card,
    .contact-form-card,
    .contact-map-card {
        padding: 20px;
    }

    .contact-info-card .card-header,
    .contact-form-card .form-header {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .contact-info-card .card-header h3,
    .contact-form-card .form-header h3,
    .contact-map-card .map-title {
        font-size: 1.4rem;
    }

    .contact-info-list {
        gap: 20px;
    }

    .contact-info-item {
        gap: 15px;
        padding: 12px;
    }

    .info-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .info-icon-wrapper i {
        font-size: 1.1rem;
    }

    .info-content h6 {
        font-size: 1rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }

    .contact-social-icon {
        width: 40px;
        height: 40px;
    }

    .contact-form-card .form-group {
        margin-bottom: 20px;
    }

    .contact-form-card .form-input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .contact-submit-btn {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .map-frame {
        height: 250px;
    }

    /* Contact Modal */
    .modal-content {
        padding: 35px 25px;
    }

    .modal-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }

    .modal-icon i {
        font-size: 2rem;
    }

    .modal-content h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .modal-content p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .modal-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }

    .modal-close i {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 50px 0 20px;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-heading::after {
        left: 0;
        transform: none;
    }

    .footer-socials {
        justify-content: flex-start;
    }

    .footer-links a {
        justify-content: flex-start;
    }

    .contact-list li {
        justify-content: flex-start;
        text-align: left;
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}