/*
=============================================
CUSTOM STYLES - Clinical Psychologist Kerala
Desktop + Mobile Redesign
=============================================
*/

/*-------------------------------------------
  CSS VARIABLES
-------------------------------------------*/
:root {
    --primary: #750c75;
    --primary-dark: #4a084a;
    --primary-light: #b320b3;
    --accent: #fcb6fc;
    --dark: #2f2f2f;
    --body-text: #5d5d5d;
    --white: #ffffff;
    --bg-light: #f8f0ff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 50px rgba(117, 12, 117, 0.2);
    --shadow-primary: 0 8px 32px rgba(117, 12, 117, 0.4);
    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-xl: 50px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/*-------------------------------------------
  RESET & BASE
-------------------------------------------*/
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/*-------------------------------------------
  ANIMATIONS - SCROLL REVEAL
-------------------------------------------*/
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Fade in from left */
.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/*-------------------------------------------
  HEADER SECTION
-------------------------------------------*/
.header-section {
    padding: 20px 0 15px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-logo img {
    max-width: 90px;
    height: auto;
    transition: transform var(--transition-normal);
}

.header-logo:hover img {
    transform: scale(1.05);
}

.header-title-wrapper {
    flex: 1;
    text-align: center;
}

.header-title {
    color: var(--primary);
    font-family: 'Georgia', serif;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
}

.header-subtitle {
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
}

/*-------------------------------------------
  NAVBAR - DESKTOP (Floating Pill + Glassmorphism)
-------------------------------------------*/
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 15px;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar-wrapper.scrolled {
    padding: 8px 15px;
}

.navbar-pill {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(117, 12, 117, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: var(--radius-xl);
    padding: 10px 35px;
    box-shadow: 
        0 8px 32px rgba(117, 12, 117, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.navbar-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: var(--radius-xl);
}

.navbar-wrapper.scrolled .navbar-pill {
    background: rgba(117, 12, 117, 0.9);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Navbar Brand */
.navbar-brand-custom {
    display: none;
}

.navbar-wrapper.scrolled .navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand-custom img {
    height: 35px;
    width: auto;
}

.navbar-brand-custom span {
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
}

/* Navigation Menu - Centered with equal spacing */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link:hover,
.nav-link.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.nav-link .caret {
    font-size: 10px;
    transition: transform var(--transition-normal);
}

.nav-item:hover .caret {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 9999;
    margin-top: 5px;
}

.nav-item:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Multi-column Dropdown */
.dropdown-mega {
    min-width: 500px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 20px;
    z-index: 9999;
}

.nav-item:hover .dropdown-mega {
    transform: translateX(-50%) translateY(0);
}

.dropdown-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dropdown-mega-section h4 {
    color: var(--primary);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}

.dropdown-link {
    display: block;
    color: var(--body-text);
    font-size: 13px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 15px;
}

/*-------------------------------------------
  MOBILE TOP BAR (Pill Shape)
-------------------------------------------*/
.mobile-topbar {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 55px;
    background: rgba(117, 12, 117, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 1000;
    box-shadow: 
        0 8px 32px rgba(117, 12, 117, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Hamburger Button */
.hamburger-btn {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
    z-index: 1002;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all var(--transition-normal);
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Logo */
.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-logo img {
    height: 35px;
    width: auto;
}

.mobile-logo span {
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    max-width: 150px;
    line-height: 1.2;
}

/* Mobile Search Button */
.mobile-search-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.mobile-search-btn:active {
    background: rgba(255, 255, 255, 0.25);
}

/*-------------------------------------------
  MOBILE SLIDE-IN MENU
-------------------------------------------*/
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: 1002;
    transition: left var(--transition-slow);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu::-webkit-scrollbar {
    width: 0;
}

/* Menu Header */
.mobile-menu-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header img {
    height: 50px;
    margin-bottom: 10px;
}

.mobile-menu-header h3 {
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

/* Menu Navigation */
.mobile-nav {
    padding: 15px 0;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.mobile-nav-link:active {
    background: rgba(255, 255, 255, 0.1);
}

/* Active state for mobile nav */
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    border-left: 3px solid var(--accent);
    padding-left: 17px;
}

.mobile-nav-link .arrow {
    font-size: 12px;
    transition: transform var(--transition-normal);
    background: rgba(255, 255, 255, 0.15);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-link.expanded .arrow {
    transform: rotate(90deg);
}

/* Mobile Submenu */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.15);
}

.mobile-submenu.expanded {
    max-height: 600px;
}

.mobile-submenu a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    padding: 12px 20px 12px 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.mobile-submenu a:active {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 45px;
    color: var(--white);
}

.mobile-submenu .submenu-title {
    color: var(--accent);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px 5px 35px;
}

/* Menu Footer */
.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.mobile-menu-footer .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 12px;
}

.mobile-menu-footer .contact-item i {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.mobile-menu-social a {
    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);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.mobile-menu-social a:active {
    transform: scale(0.9);
    background: var(--primary-light);
}

/*-------------------------------------------
  HERO SLIDER
-------------------------------------------*/
.main-banner {
    position: relative;
}

/* Custom Slider Navigation */
.slider-custom-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
}

/* Carousel Button - Rounded */
.main-banner .button.primary.bordered-light,
.main-banner .tp-caption a.button {
    border-radius: 50px !important;
    padding: 12px 35px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    border: 2px solid #750c75 !important;
    background-color: #750c75 !important;
    color: #ffffff !important;
}

.main-banner .button.primary.bordered-light:hover,
.main-banner .tp-caption a.button:hover {
    background-color: transparent !important;
    color: #750c75 !important;
    transform: scale(1.05) !important;
}

/*-------------------------------------------
  WELCOME SECTION
-------------------------------------------*/
.welcome-message {
    padding: 60px 0;
}

.welcome-title {
    color: var(--primary);
    font-family: 'Georgia', serif;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.welcome-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--body-text);
    margin-bottom: 40px;
}

.welcome-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.welcome-image-wrapper:hover {
    transform: scale(1.02);
}

.welcome-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.welcome-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--body-text);
    text-align: justify;
}

/*-------------------------------------------
  SERVICES SECTION
-------------------------------------------*/
.our-services {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.section-title-custom {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-custom h2 {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title-custom h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-image {
    height: 180px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 20px;
}

.service-card-body h4 {
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-card-body h4 a {
    color: var(--primary);
    transition: color var(--transition-fast);
}

.service-card-body h4 a:hover {
    color: var(--primary-light);
}

.service-card-body p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--body-text);
    margin-bottom: 10px;
}

.service-card-body .read-more {
    color: var(--primary);
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap var(--transition-fast);
}

.service-card-body .read-more:hover {
    gap: 10px;
}

/*-------------------------------------------
  WHO WE ARE SECTION
-------------------------------------------*/
.who-we-are {
    padding: 60px 0;
    background: var(--white);
}

.accordion-custom {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item-custom {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(117, 12, 117, 0.1);
    transition: all var(--transition-normal);
}

.accordion-item-custom:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(117, 12, 117, 0.2);
}

.accordion-item-custom.active {
    border-color: var(--primary);
}

.accordion-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.accordion-header-custom:active {
    background: var(--bg-light);
}

.accordion-header-custom h4 {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.accordion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.accordion-item-custom.active .accordion-icon {
    transform: rotate(180deg);
    background: var(--primary-light);
}

.accordion-content-custom {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.accordion-item-custom.active .accordion-content-custom {
    max-height: 500px;
    padding: 0 25px 20px;
}

.accordion-content-custom p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body-text);
    margin-bottom: 10px;
}

/* Sidebar Advertisement */
.advertisement-sidebar {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.advertisement-sidebar img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.advertisement-sidebar:hover img {
    transform: scale(1.05);
}

/*-------------------------------------------
  CALL TO ACTION
-------------------------------------------*/
.call-to-action-custom {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.call-to-action-custom::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-text {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.cta-text img {
    height: 80px;
    width: auto;
}

.cta-text h2 {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

.cta-text h2 i {
    margin-right: 10px;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 14px 35px;
    border-radius: var(--radius-xl);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/*-------------------------------------------
  FOOTER - DESKTOP
-------------------------------------------*/
.footer-custom {
    background: linear-gradient(180deg, #2d1b4e 0%, #1a0a2e 100%);
    color: var(--white);
    position: relative;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    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);
    font-size: 16px;
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-copyright a {
    color: var(--accent);
    transition: color var(--transition-fast);
}

.footer-copyright a:hover {
    color: var(--white);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-primary);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/*-------------------------------------------
  MOBILE RESPONSIVE STYLES
-------------------------------------------*/
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .dropdown-mega {
        min-width: 400px;
    }
}

@media (max-width: 768px) {
    /* Hide Desktop Navbar */
    .navbar-wrapper {
        display: none;
    }
    
    /* Show Mobile Topbar */
    .mobile-topbar {
        display: flex;
    }
    
    /* Adjust Header */
    .header-section {
        padding: 80px 15px 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-logo img {
        max-width: 60px;
    }
    
    .header-title {
        font-size: 18px;
    }
    
    .header-subtitle {
        font-size: 13px;
    }
    
    /* Welcome Section */
    .welcome-message {
        padding: 40px 0;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .welcome-subtitle {
        font-size: 15px;
    }
    
    .welcome-text {
        font-size: 15px;
        line-height: 1.7;
    }
    
    /* Services Section */
    .our-services {
        padding: 40px 0;
    }
    
    .section-title-custom h2 {
        font-size: 22px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .service-card {
        display: flex;
        flex-direction: row;
        max-width: 100%;
    }
    
    .service-card-image {
        width: 120px;
        height: auto;
        min-height: 120px;
        flex-shrink: 0;
    }
    
    .service-card-body {
        padding: 15px;
    }
    
    .service-card-body h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .service-card-body p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .service-card-body .read-more {
        font-size: 12px;
    }
    
    /* Who We Are Section */
    .who-we-are {
        padding: 40px 0;
    }
    
    .accordion-header-custom {
        padding: 15px 20px;
    }
    
    .accordion-header-custom h4 {
        font-size: 14px;
    }
    
    .accordion-content-custom {
        padding: 0 20px;
    }
    
    .accordion-item-custom.active .accordion-content-custom {
        padding: 0 20px 15px;
    }
    
    /* Call to Action */
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cta-text {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 18px;
    }
    
    /* Footer */
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    /* Scroll to Top */
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Slider adjustments */
    .main-banner {
        margin-top: 0;
    }
    
    .tp-caption.Newspaper-Title-Centered {
        font-size: 20px !important;
    }
    
    .tp-caption.Newspaper-Subtitle {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 16px;
    }
    
    .header-subtitle {
        font-size: 12px;
    }
    
    .welcome-title {
        font-size: 20px;
    }
    
    .service-card-image {
        width: 100px;
        min-height: 100px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 13px;
    }
}

/*-------------------------------------------
  REDUCE MOTION - Accessibility
-------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-on-scroll,
    .animate-left,
    .animate-right,
    .animate-scale {
        opacity: 1;
        transform: none;
    }
}

/*-------------------------------------------
  UTILITY CLASSES
-------------------------------------------*/
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: bold; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--bg-light); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* Hide on desktop, show on mobile */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/*-------------------------------------------
  MOBILE SEARCH OVERLAY
-------------------------------------------*/
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-overlay.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.search-overlay-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(117, 12, 117, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.search-back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-back-btn:active {
    background: rgba(255, 255, 255, 0.25);
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 15px;
}

.search-input-wrapper i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.search-input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 16px;
}

.search-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-overlay-results {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: linear-gradient(135deg, #f8f0ff 0%, #ffffff 100%);
}

.search-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--body-text);
    text-align: center;
}

.search-placeholder i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0.3;
}

.search-placeholder p {
    font-size: 16px;
    opacity: 0.6;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: var(--primary);
}

.search-loading i {
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.search-result-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.search-result-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-result-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
}

.search-result-info h4 {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.search-result-info p {
    font-size: 13px;
    color: var(--body-text);
    margin-bottom: 2px;
}

.search-result-info .designation {
    font-size: 12px;
    color: var(--primary-light);
    font-weight: 500;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--body-text);
}

.search-no-results i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 15px;
    display: block;
}

.search-no-results p {
    font-size: 16px;
    margin-bottom: 5px;
}

.search-no-results small {
    font-size: 13px;
    opacity: 0.6;
}

/*-------------------------------------------
  MOBILE GLASSMORPHISM HOME PAGE
-------------------------------------------*/
@media (max-width: 768px) {
    /* Glass Welcome Section */
    .welcome-message {
        padding: 30px 15px;
    }
    
    .welcome-message .row {
        margin: 0;
    }
    
    .welcome-title {
        font-size: 22px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .welcome-subtitle {
        font-size: 15px;
        color: var(--primary);
        font-weight: 500;
    }
    
    .welcome-image-wrapper {
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(117, 12, 117, 0.15);
        margin-bottom: 20px;
        position: relative;
    }
    
    .welcome-image-wrapper::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(transparent, rgba(117, 12, 117, 0.1));
        pointer-events: none;
    }
    
    .welcome-text {
        font-size: 15px;
        line-height: 1.7;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--radius-lg);
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 8px 32px rgba(117, 12, 117, 0.08);
    }
    
    /* Glass Service Cards */
    .our-services {
        background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
        padding: 40px 15px;
        position: relative;
        overflow: hidden;
    }
    
    .our-services::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
        pointer-events: none;
    }
    
    .section-title-custom h2 {
        color: var(--white);
        font-size: 24px;
        margin-bottom: 30px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0;
        position: relative;
        z-index: 1;
    }
    
    .service-card {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--radius-lg);
        display: flex;
        flex-direction: row;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        transition: all var(--transition-normal);
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
    
    .service-card::before {
        display: none;
    }
    
    .service-card-image {
        width: 120px;
        height: auto;
        min-height: 120px;
        flex-shrink: 0;
        overflow: hidden;
    }
    
    .service-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .service-card-body {
        padding: 15px;
        flex: 1;
    }
    
    .service-card-body h4 {
        color: var(--white);
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .service-card-body h4 a {
        color: var(--white);
    }
    
    .service-card-body p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .service-card-body .read-more {
        color: var(--accent);
        font-size: 13px;
        font-weight: 600;
    }
    
    /* Glass Who We Are Section */
    .who-we-are {
        padding: 40px 15px;
        background: linear-gradient(135deg, #f8f0ff 0%, #ffffff 100%);
    }
    
    .section-title-custom h2 {
        color: var(--primary);
    }
    
    .accordion-custom {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .accordion-item-custom {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(117, 12, 117, 0.1);
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(117, 12, 117, 0.06);
    }
    
    .accordion-header-custom {
        padding: 16px 20px;
        background: linear-gradient(135deg, rgba(117, 12, 117, 0.05) 0%, rgba(179, 32, 179, 0.05) 100%);
    }
    
    .accordion-header-custom h4 {
        font-size: 15px;
        color: var(--primary);
        font-weight: 600;
    }
    
    .accordion-content-custom {
        padding: 0 20px;
    }
    
    .accordion-item-custom.active .accordion-content-custom {
        padding: 0 20px 16px;
    }
    
    .accordion-content-custom p {
        font-size: 14px;
        line-height: 1.6;
        color: var(--body-text);
    }
    
    /* Glass CTA Section */
    .call-to-action-custom {
        padding: 30px 15px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        position: relative;
        overflow: hidden;
    }
    
    .call-to-action-custom::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: pulse 6s ease-in-out infinite;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        position: relative;
        z-index: 1;
    }
    
    .cta-text {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cta-text img {
        display: none;
    }
    
    .cta-text h2 {
        font-size: 20px;
        color: var(--white);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .cta-button {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: var(--primary);
        padding: 14px 35px;
        border-radius: 50px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 1px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        transition: all var(--transition-normal);
    }
    
    .cta-button:active {
        transform: scale(0.95);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}
