/* 
    Premium Design System for G SHINE FUTURE COMPUTER INSTITUTE
    Author: Antigravity AI
*/

:root {
    --primary: #01b1d7;
    --primary-dark: #008ba8;
    --secondary: #f47629;
    --accent: #6c5ce7;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #d63031;
    --light: #f8f9fa;
    --dark: #2d3436;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background-color: #fff;
}

/* Premium Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Global Page Reveal Animation */
.page-reveal {
    animation: page-reveal-anim 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes page-reveal-anim {
    0% {
        opacity: 0;
        filter: blur(15px);
    }

    100% {
        opacity: 1;
        filter: none;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    border-radius: 20px;
}

/* Modern Professional Navbar - Ultra Single Line */
.main-navigation {
    background: rgba(255, 255, 255, 0.99) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 2px solid rgba(1, 177, 215, 0.12) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    margin-bottom: 0 !important;
    top: 0;
    width: 100%;
    z-index: 9999 !important;
    min-height: 95px !important;
    /* Compact overall height */
    display: flex !important;
    align-items: center !important;
}

@media (min-width: 992px) {
    .main-navigation .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 0 0 40px !important;
        /* Removed right padding to push menu to absolute edge */
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    /* Corporate Identity (Logo + Brand Name) anchored LEFT */
    .navbar-header {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        z-index: 100;
    }

    /* Corporate Navigation Menu anchored RIGHT */
    .navbar-collapse {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 1 1 auto !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-left: auto !important;
        /* Deep separation gap */
        max-height: none !important;
        overflow: visible !important;
        visibility: visible !important;
        z-index: 90;
    }

    .main-navigation .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        margin: 0 !important;
        gap: 2px !important;
        /* Ultra compact spacing */
        padding: 0 !important;
    }
}



.main-navigation.affix {
    padding: 0 !important;
    min-height: 90px !important;
    /* Larger even on scroll */
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.main-navigation .navbar-nav>li {
    float: none !important;
}

.main-navigation .navbar-nav>li>a {
    font-weight: 700 !important;
    color: var(--dark) !important;
    padding: 12px 10px !important;
    /* Compact corporate padding */
    position: relative;
    letter-spacing: 0.4px !important;
    /* Clean corporate tracking */
    text-transform: uppercase;
    font-size: 14px !important;
    /* Significant authority and extreme readability */
    transition: var(--transition);
    display: flex;
    align-items: center;
    border-radius: 8px;
    white-space: nowrap !important;
}

.main-navigation .navbar-nav>li>a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.main-navigation .navbar-nav>li>a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-navigation .navbar-nav>li>a:hover {
    background: rgba(1, 177, 215, 0.05);
    color: var(--primary) !important;
}

.main-navigation .navbar-nav>li.active>a {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(1, 177, 215, 0.3);
}

.main-navigation .navbar-nav>li.active>a::after {
    display: none;
}

.affix .navbar-nav>li>a {
    height: 50px !important;
    line-height: 50px !important;
}

.main-navigation .navbar-nav>li>a i {
    margin-right: 8px;
    font-size: 16px;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-navigation .navbar-nav>li>a:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary);
}

.main-navigation .navbar-nav>li>a:hover {
    color: var(--primary) !important;
}

/* Ultra Professional Dropdown - 3D Reveal */
.main-navigation .dropdown {
    perspective: 1200px;
}

/* Desktop Hover 3D Reveal */
@media (min-width: 992px) {
    .main-navigation .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) rotateX(-10deg) scale(0.98);
        transform-origin: top center;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border: none !important;
        border-radius: 15px !important;
        background: #fff !important;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2) !important;
        padding: 15px 0 !important;
        min-width: 320px !important;
        top: 100% !important;
        left: 0 !important;
        pointer-events: none;
        z-index: 10000;
        border-top: 5px solid var(--primary) !important;
    }

    .main-navigation .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) rotateX(0) scale(1);
        pointer-events: auto;
    }
}


/* Bridge to keep menu open while moving cursor */
.main-navigation .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -70px;
    /* Taller bridge to cover the increased navbar height */
    left: 0;
    width: 100%;
    height: 70px;
    background: transparent;
    pointer-events: auto;
    z-index: -1;
}

.main-navigation .dropdown-menu li {
    padding: 2px 10px;
}

.main-navigation .dropdown-menu li a {
    padding: 12px 20px !important;
    font-weight: 600 !important;
    color: var(--dark) !important;
    transition: all 0.3s ease !important;
    display: block;
    border-radius: 8px;
    font-size: 14.5px !important;
    white-space: nowrap !important;
    /* Ensure dropdown text stays in one line */
}

.main-navigation .dropdown-menu li a:hover {
    background: linear-gradient(90deg, var(--primary), var(--accent)) !important;
    color: white !important;
    padding-left: 25px !important;
    box-shadow: 0 5px 15px rgba(1, 177, 215, 0.2);
}

.main-navigation .navbar-brand img {
    max-height: 50px;
    /* Reduced from 70px */
    transition: all 0.4s ease;
}

.affix .navbar-brand img {
    max-height: 42px;
    /* Reduced from 55px */
}

/* Buttons */
/* Ultra Professional Button Shine */
.btn-premium {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 25px rgba(1, 177, 215, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(1, 177, 215, 0.3);
}

.btn-premium:hover::before {
    left: 100%;
}

/* Service Cards */
.single-services {
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
}

.services-inner {
    background: white;
    border: none !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin-left: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, white, var(--light));
}

.our-services-icon {
    float: none !important;
    margin: 0 0 20px 0 !important;
}

.our-services-icon i {
    width: 80px !important;
    height: 80px !important;
    line-height: 80px !important;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark)) !important;
    font-size: 35px !important;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(1, 177, 215, 0.2);
}

.services-inner:hover .our-services-icon i {
    transform: rotateY(180deg);
}

.our-services-text {
    padding: 0 !important;
}

.our-services-text h4 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.our-services-text h4::before {
    display: none;
}

/* Section Titles */
.title h2 {
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.title div span {
    display: none !important;
}

/* Premium Counters Redesign */
.counters-wrapper {
    background: radial-gradient(circle at center, #1a1c1d 0%, #000 100%);
    padding: 100px 0 !important;
    position: relative;
    overflow: hidden;
}

.counters-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(1, 177, 215, 0.05) 0%, transparent 70%);
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.single-counter-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 30px !important;
    border-radius: 40px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
    z-index: 1;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.single-counter-item:hover {
    transform: translateY(-20px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(1, 177, 215, 0.15);
}

.single-counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(1, 177, 215, 0.1), transparent 70%);
    pointer-events: none;
}

.single-counter-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.single-counter-item:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(1, 177, 215, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.single-counter-item:hover::after {
    transform: scaleX(1);
}

.stats-item-heading {
    margin-bottom: 25px;
}

.stats-item-heading i {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: rgba(1, 177, 215, 0.1);
    color: var(--primary) !important;
    font-size: 32px !important;
    border-radius: 20px;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.5s ease;
}

.single-counter-item:hover i {
    background: var(--primary);
    color: white !important;
    transform: rotateY(360deg);
}

.single-counter-item h4 {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600 !important;
    margin: 0;
}

.counter {
    font-size: 55px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, white 30%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 15px;
    letter-spacing: -2px;
}


/* Footer redesign */
.footer-wrapper {
    background: #1a1c1d !important;
}

.footer-top-area {
    padding: 80px 0 !important;
}

.footer-widget-heading h3 {
    color: white !important;
    font-size: 22px !important;
    margin-bottom: 30px;
    position: relative;
}

.footer-widget-heading h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-social-menu li a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: block;
    color: white;
    transition: var(--transition);
}

.footer-social-menu li a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-widget-menu li a {
    color: #ababab !important;
    padding: 8px 0 !important;
    display: block;
    transition: var(--transition);
}

.footer-widget-menu li a:hover {
    color: var(--primary) !important;
    padding-left: 10px !important;
}

.footer-conatct-menu li i {
    color: var(--primary) !important;
    font-size: 18px !important;
}

.copyright-wrapper {
    background: #111 !important;
    padding: 25px 0 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Breadcrumbs */
.breadcromb-wrapper {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/breadcromb-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 100px 0 !important;
    text-align: center;
    color: white;
}

.breadcromb-left h3 {
    font-size: 48px !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.breadcromb-text ul li {
    display: inline-block;
    color: white;
    font-weight: 500;
}

.breadcromb-text ul li a {
    color: white !important;
}

/* Contact Form & Controls */
.contact-form {
    padding: 40px !important;
    border-radius: 20px;
    background: white;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.form-control {
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    font-size: 14px !important;
    color: var(--dark) !important;
    background: #fdfdfd !important;
    transition: var(--transition) !important;
    box-shadow: none !important;
    height: auto !important;
}

.form-control:focus {
    border-color: var(--primary) !important;
    background: white !important;
    box-shadow: 0 5px 15px rgba(1, 177, 215, 0.1) !important;
}

textarea.form-control {
    min-height: 150px;
}

.address {
    padding: 40px !important;
    background: var(--dark);
    color: white;
    border-radius: 20px;
    height: 100%;
}

.contact-address li {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.contact-address li i {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: var(--primary);
    border-radius: 10px;
    margin-right: 15px;
    font-size: 18px;
}

/* Global Reveal Animations - Ultra Professional */
[data-aos] {
    transition-duration: 1000ms !important;
}

section,
.container>.row>div {
    animation: reveal-professional 1.2s cubic-bezier(0.2, 1, 0.3, 1) backwards;
}

@keyframes reveal-professional {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Staggered text animations */
.title h2,
.breadcromb-left h3 {
    animation: title-reveal 1.5s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

@keyframes title-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px) skewY(2deg);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) skewY(0deg);
        filter: blur(0);
    }
}

/* Float Animation for key elements */
.float-professional {
    animation: float-pro 6s ease-in-out infinite;
}

@keyframes float-pro {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .main-navigation .navbar-nav {
        gap: 8px !important;
    }

    .main-navigation .navbar-nav>li>a {
        padding: 5px 8px !important;
        font-size: 10.5px !important;
    }

    .brand-name {
        font-size: 15px !important;
    }
}

@media (max-width: 1200px) {
    .main-navigation .navbar-nav {
        gap: 5px !important;
    }

    .main-navigation .navbar-nav>li>a {
        padding: 5px 6px !important;
        font-size: 10px !important;
    }

    .brand-name {
        font-size: 14px !important;
    }

    .tagline {
        font-size: 8.5px !important;
        padding-left: 8px !important;
    }
}

@media (max-width: 768px) {
    .title h2 {
        font-size: 28px !important;
    }

    .services-inner {
        padding: 20px !important;
    }

    .counter {
        font-size: 35px !important;
    }

    .breadcromb-left h3 {
        font-size: 32px !important;
    }

    .main-navigation {
        padding: 5px 0 !important;
    }

    .navbar-brand {
        padding: 5px 10px !important;
    }
}

/* Logo & Tagline Premium Styles - Redefined */
/* Logo & Brand Styling - Strictly Single Line */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
    margin-right: 50px !important;
    /* Increased protective gap */
    flex-shrink: 0 !important;
}

.main-logo-img {
    max-height: 72px !important;
    width: auto !important;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-right: 15px;
    animation: logo-breathe 4s ease-in-out infinite;
    cursor: pointer;
    position: relative;
}

.main-logo-img:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 30px rgba(1, 177, 215, 0.3);
    filter: brightness(1.05);
}

@keyframes logo-breathe {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(1, 177, 215, 0.2);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(1, 177, 215, 0.4);
    }
}

.tagline-wrapper {
    display: flex !important;
    flex-direction: column !important;
    /* Stacked layout */
    align-items: flex-start !important;
    gap: 0px;
    /* Tighter vertical space */
}

/* Topbar Enhancement */
.top-wrapper {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary)) !important;
    padding: 6px 0 !important;
    border-bottom: none !important;
}

.top-wrapper .pull-left,
.top-wrapper .quick-contacts {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 13px;
    font-weight: 600;
}

.top-wrapper i {
    color: var(--secondary) !important;
    background: white;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 5px;
    margin-right: 8px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.top-wrapper span {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
}

.top-wrapper span:hover i {
    transform: translateY(-3px) rotate(15deg);
}

.top-wrapper a {
    color: white !important;
    text-decoration: none;
    transition: var(--transition);
}

.top-wrapper a:hover {
    color: var(--secondary) !important;
}

/* Brand Name & Tagline - Bold Professional Style */
/* Brand Name & Tagline - One Line Styling */
.brand-name {
    font-size: 17.5px !important;
    /* Professional institute-style font size */
    font-weight: 900;
    color: var(--dark);
    margin: 0 !important;
    white-space: nowrap;
    line-height: normal;
    transition: var(--transition);
    letter-spacing: 0.3px;
    min-width: 180px;
    /* Protect brand identity */
}

.navbar-brand:hover .brand-name {
    color: var(--primary);
    transform: translateY(-1px);
}

.tagline {
    font-size: 10px !important;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 !important;
    white-space: nowrap;
    display: inline-block;
    padding-left: 0;
    border-left: none;
    line-height: 1;
    margin-top: 2px !important;
}

@keyframes shine-text {
    to {
        background-position: 200% center;
    }
}

.modall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 0 !important;
}

.modall.active {
    display: flex !important;
    opacity: 1;
    align-items: center !important;
    justify-content: center !important;
}

.modall-content {
    border-radius: 40px !important;
    /* Smoother squircle */
    padding: 0 !important;
    overflow: visible !important;
    border: 3px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
    background: white !important;
    width: 85%;
    max-width: 360px;
    transform: scale(0.9);
    /* Removed translateY(50px) to keep it centered from the start */
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    position: relative;
    /* Static centering with Flex parent */
    margin: auto !important;
    /* Changed to auto for better categorical centering */
}

.modall.active .modall-content {
    transform: rotateX(0deg) scale(1) translateY(0);
}

.modal-header-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 20px;
    text-align: center;
    color: white;
    border-radius: 30px 30px 0 0;
    position: relative;
    transform: translateZ(30px);
}

.modal-header-custom h3 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 4px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 20px;
}

.modal-body-custom {
    padding: 40px 20px 25px;
    text-align: center;
    background: white;
    border-radius: 0 0 30px 30px;
    transform: translateZ(10px);
}

.modal-logo-frame {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 25px;
    /* Premium squircle */
    margin: -50px auto 15px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(60px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-logo-frame:hover {
    transform: translateZ(90px) rotate(8deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-logo-frame img {
    max-width: 100%;
    height: auto;
    border-radius: 25px;
}

.modal-info-box {
    margin-top: 20px;
    background: var(--light);
    padding: 15px 20px;
    border-radius: 25px;
    border: 1px dashed rgba(1, 177, 215, 0.3);
    transform: translateZ(20px);
    transition: var(--transition);
}

.modal-info-box:hover {
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-style: solid;
    transform: translateZ(25px) scale(1.02);
}

.closee {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--danger) !important;
    border-radius: 50%;
    text-align: center;
    font-size: 22px !important;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 100;
    box-shadow: 0 10px 20px rgba(214, 48, 49, 0.3);
    border: 2px solid white;
}

.closee:hover {
    background: #ff4757 !important;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 15px 25px rgba(214, 48, 49, 0.4);
}


/* Footer Tagline Animation */
.footer-tagline {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid rgba(1, 177, 215, 0.3);
    border-radius: 30px;
    margin: 15px 0;
    animation: border-glow 2s infinite alternate;
}

@keyframes border-glow {
    from {
        box-shadow: 0 0 5px rgba(1, 177, 215, 0.2);
        border-color: rgba(1, 177, 215, 0.3);
    }

    to {
        box-shadow: 0 0 20px rgba(1, 177, 215, 0.5);
        border-color: var(--primary);
    }
}

/* Global Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in-reveal {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.zoom-in-reveal.active {
    opacity: 1;
    transform: scale(1);
}

/* Pulse Glow Animation */
.pulse-glow {
    animation: pulse-glow-anim 2s infinite alternate;
}

@keyframes pulse-glow-anim {
    from {
        box-shadow: 0 0 5px rgba(1, 177, 215, 0.2);
    }

    to {
        box-shadow: 0 0 20px rgba(1, 177, 215, 0.6);
    }
}

/* Advanced Transitions for links and buttons */
.btn-premium {
    position: relative;
    overflow: hidden !important;
    transition: var(--transition) !important;
    z-index: 1 !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--primary) !important;
    color: white !important;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-premium:hover::before {
    width: 300%;
    height: 300%;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(1, 177, 215, 0.3) !important;
}

/* Premium Gallery Styles */
.gallery-container-premium {
    padding: 60px 0;
    margin-top: -30px;
}

.gallery-card-premium {
    position: relative;
    margin-bottom: 40px;
    border-radius: 20px;
    background: white;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
}

.gallery-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(1, 177, 215, 0.15);
}

.gallery-img-frame {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    display: block;
}

.gallery-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.gallery-card-premium:hover .gallery-img-frame img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(1, 177, 215, 0.4) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card-premium:hover .gallery-overlay-premium {
    opacity: 1;
}

.gallery-search-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-card-premium:hover .gallery-search-icon {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-img-frame {
        height: 250px;
    }
}

/* Premium Lightbox - The "Cut" Option Experience */
.premium-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    perspective: 1000px;
    padding: 80px 20px 40px;
    /* Top padding for close button */
    box-sizing: border-box;
}

.premium-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 80vh;
    animation: lightboxIn 0.4s ease forwards;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    /* NO overflow:hidden - so close button is visible */
}

@keyframes lightboxIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    display: block;
    object-fit: contain;
    border-radius: 13px;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #d63031;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 1000001;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(214, 48, 49, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: #ff4757;
}

/* Close instruction for user */
.lightbox-hint {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- FULL RESPONSIVE OVERHAUL (MOBILE VIEW) --- */

/* --- MOBILE TOP BAR ENHANCEMENT --- */
@media (max-width: 991px) {

    /* Critical Fix: Hide Slicknav Duplicate Menu Icon */
    .slicknav_menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .top-wrapper {
        padding: 6px 0 !important;
        text-align: center !important;
        background: #0f172a !important;
        /* Premium Deep Navy */
        color: white !important;
        border-bottom: 2px solid rgba(1, 177, 215, 0.15);
    }

    .top-wrapper .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 6px !important;
        padding: 0 10px !important;
    }

    .top-wrapper .pull-left {
        width: 100% !important;
        float: none !important;
        font-size: 10px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding: 0 10px !important;
        opacity: 0.9 !important;
        margin: 0 !important;
    }

    .top-wrapper .pull-right {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    .quick-contacts {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        /* Starts from left to prevent clipping */
        gap: 12px !important;
        padding: 5px 20px 8px !important;
        /* Extra horizontal padding for safe content */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .quick-contacts::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .quick-contacts span {
        margin: 0 !important;
        font-size: 10px !important;
        display: flex !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.06) !important;
        padding: 4px 10px !important;
        border-radius: 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Force icon style */
    .top-wrapper i {
        background: transparent !important;
        color: var(--primary) !important;
        margin-right: 5px !important;
        font-size: 11px !important;
        width: auto !important;
        height: auto !important;
        line-height: normal !important;
    }

    .quick-contacts span a {
        color: white !important;
    }
}

/* 1. Mobile Branding & Toggle Fix */
@media (max-width: 991px) {
    .main-navigation {
        min-height: 70px !important;
        padding: 5px 0 !important;
        display: block !important;
        /* Reset flex for mobile */
    }

    .main-navigation .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 20px !important;
        flex-wrap: nowrap !important;
    }

    .navbar-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        float: none !important;
        margin: 0 !important;
        flex: 1 !important;
        width: 100% !important;
    }

    .navbar-brand {
        display: flex !important;
        align-items: center !important;
        order: 1 !important;
        /* Brand on left */
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
    }

    .tagline-wrapper {
        display: flex !important;
        flex-direction: column !important;
        margin-left: 6px !important;
        overflow: hidden !important;
        max-width: 170px !important;
        /* Prevent overlap with menu icon */
    }

    .main-logo-img {
        width: 38px !important;
        /* Slightly smaller for zero overlap */
        height: auto !important;
        flex-shrink: 0 !important;
    }

    .brand-name {
        font-size: 12px !important;
        min-width: unset !important;
        line-height: 1 !important;
    }

    .tagline {
        font-size: 7.5px !important;
        line-height: 1 !important;
        margin-top: 1px !important;
        white-space: nowrap !important;
    }

    /* Professional Mobile Menu Toggle Icon - Precise Positioning */
    .navbar-toggle {
        display: block !important;
        order: 2 !important;
        /* Toggle on right */
        margin: 0 !important;
        flex-shrink: 0 !important;
        border: none !important;
        background: var(--primary) !important;
        border-radius: 10px !important;
        padding: 8px 10px !important;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(1, 177, 215, 0.2);
        position: relative !important;
        z-index: 101 !important;
    }

    .navbar-toggle:hover {
        background: var(--primary-dark) !important;
        transform: scale(1.05);
    }

    .navbar-toggle .icon-bar {
        background-color: white !important;
        width: 22px !important;
        height: 2px !important;
        border-radius: 2px;
    }

    /* Mobile Menu Dropdown UI */
    .navbar-collapse {
        background: white !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
        border: none !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
        padding: 10px 20px !important;
        margin: 0 !important;
        float: none !important;
    }

    .navbar-nav {
        margin: 0 !important;
        float: none !important;
        display: block !important;
    }

    .navbar-nav>li {
        width: 100%;
        margin-bottom: 4px;
    }

    /* ============================================
       MAIN MENU ITEMS
       ============================================ */
    nav.main-navigation .navbar-nav>li>a,
    .main-navigation .navbar-nav>li>a {
        padding: 11px 15px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-bottom: 1px solid #eee !important;
        border-radius: 8px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        color: #333 !important;
        line-height: 1.5 !important;
        display: block !important;
    }

    nav.main-navigation .navbar-nav>li>a>i {
        font-size: 14px !important;
        margin-right: 8px !important;
        color: var(--primary) !important;
    }

    /* Remove Duplicate Theme Icons in Mobile Menu */
    .navbar-nav .dropdown-toggle .fa-angle-down {
        display: none !important;
    }

    /* Mobile Menu Dropdown Arrow */
    .navbar-nav .dropdown>a::after {
        content: "\f107";
        font-family: "FontAwesome";
        margin-left: 8px;
        transition: transform 0.3s ease;
        display: inline-block;
        color: var(--primary);
    }

    .navbar-nav .dropdown.open>a::after {
        transform: rotate(180deg);
    }

    /* Dropdown container */
    .navbar-nav .dropdown-menu {
        display: none !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        box-shadow: none !important;
        background: #f0f8ff !important;
        border-radius: 8px !important;
        border: none !important;
        border-left: 3px solid var(--primary) !important;
        margin: 2px 0 4px 0 !important;
        padding: 4px 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    .navbar-nav .dropdown.open .dropdown-menu {
        display: block !important;
    }

    /* ============================================
       SUB-MENU ITEMS — EXACT SAME SIZE AS MAIN MENU
       Maximum specificity to beat all theme overrides
       ============================================ */
    html body nav.navbar .navbar-nav ul.dropdown-menu li a,
    html body .main-navigation .navbar-nav .dropdown-menu>li>a,
    html body .navbar-collapse .navbar-nav .dropdown-menu li a,
    .navbar-nav .dropdown-menu>li>a {
        padding: 11px 15px 11px 22px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        color: #333 !important;
        display: block !important;
        line-height: 1.5 !important;
        border-bottom: 1px solid rgba(1, 177, 215, 0.15) !important;
        border-radius: 0 !important;
        background: transparent !important;
        margin: 0 !important;
    }

    html body nav.navbar .navbar-nav ul.dropdown-menu li:last-child a,
    html body .main-navigation .navbar-nav .dropdown-menu>li:last-child>a {
        border-bottom: none !important;
    }

    html body nav.navbar .navbar-nav ul.dropdown-menu li a:hover,
    html body .main-navigation .navbar-nav .dropdown-menu>li>a:hover {
        background: rgba(1, 177, 215, 0.1) !important;
        color: var(--primary) !important;
        padding-left: 26px !important;
    }
}

/* ==========================================================================
   PREMIUM 3D FOOTER (GLASSMORPHISM & ANIMATION)
   ========================================================================== */
.footer-wrapper {
    background: #0f172a !important;
    /* Deep corporate slate */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(1, 177, 215, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(244, 118, 41, 0.08) 0%, transparent 40%) !important;
    position: relative;
    padding-top: 30px !important;
    /* Reduced from 80px */
    overflow: hidden;
    perspective: 1000px;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px !important;
    /* Reduced from 100px */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
}

.footer-top-area {
    padding-bottom: 15px !important;
    /* Reduced from 60px */
    position: relative;
}

.footer-widget-heading h3 {
    color: #fff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    margin-bottom: 8px !important;
    /* Reduced from 30px */
    position: relative;
    display: inline-block;
}

.footer-widget-heading h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 10px;
}

.footer-widget-content p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
}

/* 3D Widget Card Effect */
.footer-about-info-area,
.footer-tags-widget,
.footer-contact {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px !important;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    height: 100%;
}

.footer-about-info-area:hover,
.footer-tags-widget:hover,
.footer-contact:hover {
    transform: rotateX(5deg) rotateY(-5deg) translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(1, 177, 215, 0.3);
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.3);
}

/* Social Icons 3D Animation */
.footer-social-menu {
    gap: 15px;
    display: flex !important;
    margin-top: 15px !important;
    list-style: none !important;
    padding: 0 !important;
}

.footer-social-menu li a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 18px !important;
    transition: all 0.4s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative;
    overflow: hidden;
}

.footer-social-menu li a:hover {
    transform: translateY(-5px) scale(1.1) rotate(8deg);
    background: var(--primary) !important;
    box-shadow: 0 10px 20px rgba(1, 177, 215, 0.4);
    border-color: transparent !important;
}

/* Quick Links Styling - Refined for Vertical List */
.footer-widget-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-widget-menu li {
    display: block !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
}

.footer-widget-menu li a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    background: transparent !important;
    /* Force transparent back */
    border: none !important;
    padding: 0 !important;
}

.footer-widget-menu li a::before {
    content: '\f105';
    /* FontAwesome Chevron Right */
    font-family: FontAwesome;
    margin-right: 10px;
    color: var(--primary);
    font-size: 12px;
    transition: all 0.3s ease;
}

.footer-widget-menu li a:hover {
    color: var(--primary) !important;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(1, 177, 215, 0.4);
}

.footer-widget-menu li a:hover::before {
    margin-right: 15px;
}

/* Contact Info Styling */
.footer-conatct-menu {
    list-style: none !important;
    padding: 0 !important;
}

.footer-conatct-menu li {
    margin-bottom: 10px !important;
}

.footer-conatct-menu li a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: flex-start !important;
}

.footer-conatct-menu li i {
    color: var(--primary) !important;
    margin-right: 15px !important;
    font-size: 20px !important;
    margin-top: 3px !important;
}

.footer-conatct-menu li span {
    font-weight: 700 !important;
    color: #fff !important;
    margin-right: 5px !important;
}

/* Copyright Wrapper */
.copyright-wrapper {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0 !important;
    /* Reduced from 40px */
}

.copyright-wrapper p {
    font-size: 14px !important;
    opacity: 0.7 !important;
    letter-spacing: 1px !important;
}

.footer-tagline {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900 !important;
    font-size: 20px !important;
    margin: 0 !important;
    /* Reduced from 15px */
    text-transform: uppercase;
    animation: glow-text 3s infinite alternate;
}

@keyframes glow-text {
    from {
        filter: drop-shadow(0 0 2px rgba(1, 177, 215, 0.2));
    }

    to {
        filter: drop-shadow(0 0 10px rgba(1, 177, 215, 0.6));
    }
}

/* 2. Page Section Responsiveness */
@media (max-width: 768px) {

    /* Hero/Slider Fix */
    .hero-slider-content h2 {
        font-size: 26px !important;
    }

    .hero-slider-content p {
        font-size: 13px !important;
    }

    /* Modal Fix for Small Screens - Compact & Professional */
    .modall {
        padding: 40px 10px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .modall-content {
        width: 90% !important;
        max-width: 340px !important;
        margin: auto !important;
        transform: none !important;
        overflow: visible !important;
        position: relative !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
    }

    .modall.active .modall-content {
        transform: scale(1) !important;
        opacity: 1 !important;
    }

    .modal-header-custom {
        padding: 30px 15px !important;
        border-radius: 27px 27px 0 0 !important;
    }

    .modal-header-custom h3 {
        font-size: 18px !important;
        letter-spacing: 2px !important;
    }

    .modal-body-custom {
        padding: 40px 20px 30px !important;
        border-radius: 0 0 27px 27px !important;
    }

    .modal-logo-frame {
        width: 80px !important;
        height: 80px !important;
        margin-top: -70px !important;
        margin-bottom: 20px !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    }

    .modal-body-custom h2 {
        font-size: 26px !important;
    }

    .modal-body-custom .tagline {
        font-size: 14px !important;
    }

    .modal-info-box {
        padding: 20px !important;
        margin-top: 25px !important;
        border-radius: 20px !important;
    }

    .modal-info-box h5 {
        font-size: 16px !important;
    }

    .modal-info-box p {
        font-size: 12px !important;
    }

    .btn-premium {
        padding: 12px 30px !important;
        font-size: 14px !important;
    }

    .closee {
        top: 15px !important;
        right: 15px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 18px !important;
        box-shadow: none !important;
        background: #d63031 !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid white !important;
    }

    /* Sections Padding Fix */
    .inner-page-wrapper {
        padding: 40px 0 !important;
    }

    /* Services Grid Fix */
    .service-card-premium {
        margin-bottom: 30px;
    }

    /* ==========================================================================
   PREMIUM COUNTERS SECTION (GLASSMORPHISM)
   ========================================================================== */
    .counters-wrapper {
        padding: 100px 0;
        background: #0f172a;
        /* Deep slate corporate background */
        background-image:
            radial-gradient(circle at 20% 30%, rgba(1, 177, 215, 0.05) 0%, transparent 40%),
            radial-gradient(circle at 80% 70%, rgba(244, 118, 41, 0.05) 0%, transparent 40%);
        position: relative;
        overflow: hidden;
    }

    .counters-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    }

    .single-counter-item {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 24px;
        padding: 40px 30px;
        text-align: center;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
        height: 100%;
        margin-bottom: 30px;
    }

    .single-counter-item::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 24px;
        padding: 2px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(1, 177, 215, 0.2));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0.5;
        transition: opacity 0.5s ease;
    }

    .single-counter-item:hover {
        transform: translateY(-10px) scale(1.02);
        background: rgba(255, 255, 255, 0.06);
    }

    .single-counter-item:hover::after {
        opacity: 1;
    }

    .stats-item-heading {
        margin-bottom: 25px;
    }

    .stats-item-heading i {
        font-size: 38px;
        color: var(--primary);
        background: linear-gradient(135deg, var(--primary), #00d2ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 15px;
        display: inline-block;
        filter: drop-shadow(0 0 8px rgba(1, 177, 215, 0.3));
    }

    .stats-item-heading h4 {
        color: rgba(255, 255, 255, 0.7);
        font-size: 13px;
        text-transform: uppercase;
        font-weight: 800;
        letter-spacing: 2px;
        margin: 0;
        font-family: 'Outfit', sans-serif;
    }

    .single-counter-item .counter {
        display: block;
        font-size: 54px;
        font-weight: 900;
        color: #fff;
        line-height: 1;
        font-family: 'Outfit', sans-serif;
        background: linear-gradient(to bottom, #fff, #cbd5e1);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .single-counter-item:hover .counter {
        background: linear-gradient(to bottom, #fff, var(--primary));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    @media (max-width: 991px) {
        .single-counter-item {
            padding: 30px 20px;
        }

        .single-counter-item .counter {
            font-size: 42px;
        }

        /* Footer Mobile Refinement */
        .footer-wrapper {
            padding-top: 60px;
        }

        .footer-about-info-area:hover,
        .footer-tags-widget:hover,
        .footer-contact:hover {
            transform: translateY(-5px);
            /* Simple lift instead of 3D on mobile */
            box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
        }

        .footer-about-info-area,
        .footer-tags-widget,
        .footer-contact {
            margin-bottom: 30px;
            padding: 25px 20px;
        }
    }
}