/**
 * MODERN HOMEPAGE STYLES
 * Enhanced design with modern look
 */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #007A8C;
    --primary-light: #00A0C0;
    --secondary-color: #F15931;
    --accent-color: #D1AA2B;
    --dark-color: #00343A;
    --light-bg: #f5f7fa;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Modern Body */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

/* Enhanced Back to Top */
.back-to-top {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: var(--shadow-md);
}

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

/* ==================== 
   MODERN HERO SECTION
   ==================== */
#hero {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 50%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px 0;
}

/* Hero Background Animation */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 122, 140, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(241, 89, 49, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(209, 170, 43, 0.06) 0%, transparent 50%);
    animation: heroGradientMove 15s ease infinite;
    z-index: 0;
}

@keyframes heroGradientMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.9;
    }
}

/* Hero Container */
#hero .container {
    position: relative;
    z-index: 1;
}

/* Hero Content (Text Side) */
#hero h1 {
    margin: 0 0 20px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    position: relative;
    animation: heroTitleSlide 1s ease-out;
}

#hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
    animation: underlineExpand 1s ease-out 0.5s backwards;
}

@keyframes heroTitleSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes underlineExpand {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

#hero h2 {
    color: #555;
    margin: 30px 0 40px 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    animation: heroSubtitleSlide 1s ease-out 0.3s backwards;
}

@keyframes heroSubtitleSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Hero Button - "Get Started" */
#hero .btn-get-started {
    font-family: "Jost", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 122, 140, 0.3);
    animation: heroButtonSlide 1s ease-out 0.6s backwards;
    text-decoration: none;
}

/* Shimmer Effect */
#hero .btn-get-started::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#hero .btn-get-started:hover::before {
    left: 100%;
}

#hero .btn-get-started::after {
    content: '→';
    font-size: 20px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

#hero .btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 122, 140, 0.4);
    color: #fff;
}

#hero .btn-get-started:hover::after {
    transform: translateX(5px);
}

@keyframes heroButtonSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Hero Image Side */
#hero .hero-img {
    position: relative;
    animation: heroImageSlide 1s ease-out 0.4s backwards;
}

@keyframes heroImageSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

#hero .hero-img img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 122, 140, 0.2));
    animation: heroImageFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes heroImageFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(1deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }

    75% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

/* Image Background Decoration */
#hero .hero-img::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.1), rgba(241, 89, 49, 0.1));
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    animation: imageGlow 8s ease-in-out infinite;
}

@keyframes imageGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Floating Shapes Around Hero */
#hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(209, 170, 43, 0.15), transparent);
    border-radius: 50%;
    filter: blur(40px);
    animation: shapeFloat 10s ease-in-out infinite;
    z-index: 0;
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, -30px) scale(1.3);
    }
}

/* Responsive Hero Section */
@media (max-width: 991px) {
    #hero {
        padding: 100px 0 60px 0;
        min-height: auto;
    }

    #hero h1 {
        font-size: 36px;
    }

    #hero h2 {
        font-size: 18px;
        margin: 20px 0 30px 0;
    }

    #hero .btn-get-started {
        padding: 12px 32px;
        font-size: 15px;
    }

    #hero .hero-img {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 80px 0 40px 0;
    }

    #hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    #hero h1::after {
        width: 60px;
        height: 3px;
    }

    #hero h2 {
        font-size: 16px;
        margin: 20px 0 25px 0;
    }

    #hero .btn-get-started {
        padding: 10px 28px;
        font-size: 14px;
    }
}

/* ==================== 
   MODERN HEADER HOMEPAGE
   ==================== */
#header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 247, 250, 0.98) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 122, 140, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#header.header-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 8px 0 !important;
}

/* Logo Moderne */
#header .logo {
    position: relative;
    display: flex;
    align-items: center;
}

#header .logo img {
    height: 80px;
    max-height: 80px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 122, 140, 0.2));
}

#header .logo img:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 4px 12px rgba(0, 122, 140, 0.3));
}

#header.header-scrolled .logo img {
    height: 60px;
    max-height: 60px;
}

/* Center header content */
#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigation Moderne */
.navbar {
    position: relative;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 10px;
}

/* Gradient underline effect */
.navbar a::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Background glow on hover */
.navbar a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.08), rgba(241, 89, 49, 0.08));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: var(--primary-color);
}

.navbar a:hover::before,
.navbar .active::before {
    transform: translateX(-50%) scaleX(1);
}

.navbar a:hover::after,
.navbar .active::after {
    opacity: 1;
}

/* Button Get Started */
.navbar .getstarted,
.navbar .getstarted:focus {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 10px 28px;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 122, 140, 0.3);
    position: relative;
    overflow: hidden;
}

.navbar .getstarted::before {
    display: none;
}

.navbar .getstarted::after {
    background: rgba(255, 255, 255, 0.2);
}

.navbar .getstarted:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 140, 0.4);
    color: #fff !important;
}

/* Mobile Toggle Button */
.mobile-nav-toggle {
    color: var(--primary-color);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: all 0.3s ease;
    background: rgba(0, 122, 140, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.mobile-nav-toggle:hover {
    background: rgba(0, 122, 140, 0.2);
    transform: rotate(90deg);
}

.mobile-nav-toggle.bi-x {
    color: var(--secondary-color);
}

/* Dropdown Menu (if exists) */
.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    margin: 0;
    padding: 8px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    border: 1px solid rgba(0, 122, 140, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .dropdown:hover>ul {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 8px;
    margin: 4px 8px;
}

.navbar .dropdown ul a:hover {
    background: rgba(0, 122, 140, 0.08);
}

/* Hide old login/profile buttons (we have new modern ones) */
.navbar ul li a.getstarted {
    display: none !important;
}

/* ==================== 
   HOMEPAGE USER DROPDOWN
   ==================== */
.homepage-user-dropdown {
    position: relative;
}

.homepage-user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-family: inherit;
}

.homepage-user-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 140, 0.35);
}

.homepage-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.homepage-user-icon {
    font-size: 24px;
    color: #fff;
}

.homepage-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.homepage-user-arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.homepage-user-dropdown.show .homepage-user-arrow {
    transform: rotate(180deg);
}

/* User Dropdown Menu */
.homepage-user-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 122, 140, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.homepage-user-dropdown.show .homepage-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Menu Header */
.homepage-user-menu-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.08), rgba(0, 165, 185, 0.05));
}

.homepage-menu-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.homepage-menu-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.homepage-menu-user-info {
    display: flex;
    flex-direction: column;
}

.homepage-menu-user-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
}

.homepage-menu-user-email {
    font-size: 13px;
    color: #666;
}

/* Menu Divider */
.homepage-user-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 140, 0.15), transparent);
    margin: 8px 0;
}

/* Menu Items */
.homepage-user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.homepage-user-menu-item:hover {
    background: rgba(0, 122, 140, 0.08);
    color: var(--primary-color);
}

.homepage-user-menu-item i {
    width: 20px;
    font-size: 16px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.homepage-user-menu-item:hover i {
    transform: scale(1.15);
}

/* Logout Item */
.homepage-logout-item {
    color: #dc3545;
}

.homepage-logout-item:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.homepage-logout-item i {
    color: #dc3545;
}

/* Dark Mode for User Dropdown */
body.dark-mode .homepage-user-menu {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

body.dark-mode .homepage-user-menu-header {
    background: linear-gradient(135deg, rgba(209, 170, 43, 0.1), rgba(0, 165, 185, 0.08));
}

body.dark-mode .homepage-menu-user-name {
    color: #fff;
}

body.dark-mode .homepage-menu-user-email {
    color: #aaa;
}

body.dark-mode .homepage-user-menu-divider {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

body.dark-mode .homepage-user-menu-item {
    color: #e0e0e0;
}

body.dark-mode .homepage-user-menu-item:hover {
    background: rgba(209, 170, 43, 0.1);
    color: var(--accent-color);
}

body.dark-mode .homepage-user-menu-item i {
    color: var(--accent-color);
}

body.dark-mode .homepage-logout-item:hover {
    background: rgba(220, 53, 69, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .homepage-user-name {
        display: none;
    }

    .homepage-user-btn {
        padding: 8px 12px;
    }

    .homepage-user-menu {
        min-width: 250px;
        right: -50px;
    }
}

/* ==================== 
   HOMEPAGE HEADER CONTROLS (Language, Dark Mode, Login)
   ==================== */
.homepage-controls-item {
    margin-left: 8px;
}

.homepage-control-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 122, 140, 0.2);
    border-radius: 10px;
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.homepage-control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 140, 0.1), transparent);
    transition: left 0.5s ease;
}

.homepage-control-btn:hover::before {
    left: 100%;
}

.homepage-control-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 140, 0.2);
    color: var(--primary-color);
}

.homepage-control-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.homepage-control-btn:hover i {
    transform: scale(1.1);
}

/* Language Option */
.language-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.1) 0%, rgba(241, 89, 49, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 122, 140, 0.2);
    border-radius: 10px;
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.language-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 140, 0.1), transparent);
    transition: left 0.5s ease;
}

.language-option:hover::before {
    left: 100%;
}

.language-option:hover {
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.15) 0%, rgba(241, 89, 49, 0.15) 100%);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 140, 0.2);
    color: var(--primary-color);
}

.language-option i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.language-option:hover i {
    transform: scale(1.1) rotate(5deg);
}

.language-option span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Dark Mode Button */
.homepage-dark-mode-btn {
    background: linear-gradient(135deg, rgba(209, 170, 43, 0.1) 0%, rgba(0, 122, 140, 0.1) 100%);
    position: relative;
}

.homepage-dark-mode-btn .dark-icon {
    display: block;
}

.homepage-dark-mode-btn .light-icon {
    display: none;
}

body.dark-mode .homepage-dark-mode-btn .dark-icon {
    display: none;
}

body.dark-mode .homepage-dark-mode-btn .light-icon {
    display: block;
}

.homepage-dark-mode-btn:hover {
    background: linear-gradient(135deg, rgba(209, 170, 43, 0.2) 0%, rgba(0, 122, 140, 0.2) 100%);
}

.homepage-dark-mode-btn i {
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.homepage-dark-mode-btn:hover i {
    transform: rotate(180deg) scale(1.15);
}

/* Login Button */
.homepage-login-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 122, 140, 0.3);
}

.homepage-login-btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 122, 140, 0.4);
    color: #fff !important;
}

.homepage-login-btn .login-text {
    font-size: 14px;
    font-weight: 700;
}

/* ==================== 
   DARK MODE STYLES FOR HOMEPAGE
   ==================== */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
}

/* Dark Mode - Header */
body.dark-mode #header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(22, 33, 62, 0.98) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode #header.header-scrolled {
    background: rgba(26, 26, 46, 0.98) !important;
}

body.dark-mode .navbar a {
    color: #e0e0e0;
}

body.dark-mode .navbar a:hover,
body.dark-mode .navbar .active {
    color: var(--accent-color);
}

body.dark-mode .navbar a::after {
    background: rgba(255, 255, 255, 0.1);
}

/* Dark Mode - Hero Section */
body.dark-mode #hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body.dark-mode #hero h1 {
    color: #fff;
}

body.dark-mode #hero h2 {
    color: #b0b0b0;
}

body.dark-mode #hero .hero-img img {
    filter: drop-shadow(0 20px 40px rgba(209, 170, 43, 0.3));
}

/* ==================== 
   MODERN ABOUT SECTION
   ==================== */
#about.about {
    padding: 80px 0 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 50%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
#about.about::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 122, 140, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: aboutOrbFloat 12s ease-in-out infinite;
    z-index: 0;
}

#about.about::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(241, 89, 49, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: aboutOrbFloat 10s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes aboutOrbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(30px, -40px) scale(1.15);
        opacity: 1;
    }
}

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

/* About Section Title */
#about.about .section-title {
    text-align: center;
    padding-bottom: 40px;
    position: relative;
}

#about.about .section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    animation: aboutTitleSlide 0.8s ease-out;
}

#about.about .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

@keyframes aboutTitleSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* About Content Row */
#about.about .row.content {
    align-items: stretch;
    gap: 0;
}

/* About Content Cards (Left and Right Columns) */
#about.about .col-lg-6 {
    position: relative;
    animation: aboutCardSlide 0.8s ease-out backwards;
}

#about.about .col-lg-6:first-child {
    animation-delay: 0.2s;
}

#about.about .col-lg-6:last-child {
    animation-delay: 0.4s;
}

@keyframes aboutCardSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Glassmorphism Card Styling for Text */
#about.about .col-lg-6 p {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 30px 35px;
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    box-shadow:
        0 8px 32px rgba(0, 122, 140, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    margin: 0;
}

/* Gradient Border Effect on Hover */
#about.about .col-lg-6 p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s ease;
    border-radius: 16px 16px 0 0;
}

#about.about .col-lg-6 p:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

#about.about .col-lg-6 p:hover {
    transform: translateY(-8px);
    box-shadow:
        0 16px 48px rgba(0, 122, 140, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 122, 140, 0.2);
}

/* Shimmer Effect on Cards */
#about.about .col-lg-6 p::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

#about.about .col-lg-6 p:hover::after {
    left: 100%;
}

/* Icon Decoration for Cards */
#about.about .col-lg-6:first-child p {
    position: relative;
}

#about.about .col-lg-6:first-child::before {
    content: '🛡️';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    animation: iconBounce 3s ease-in-out infinite;
}

#about.about .col-lg-6:last-child::before {
    content: '💼';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    animation: iconBounce 3s ease-in-out infinite 0.5s;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* About Section Bottom CTA Button (if exists) */
#about.about .btn-learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 122, 140, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

#about.about .btn-learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#about.about .btn-learn-more:hover::before {
    left: 100%;
}

#about.about .btn-learn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 122, 140, 0.4);
    color: #fff;
}

/* About Section - Responsive */
@media (max-width: 991px) {
    #about.about {
        padding: 60px 0 80px 0;
    }

    #about.about .section-title h2 {
        font-size: 32px;
    }

    #about.about .col-lg-6 p {
        padding: 25px 28px;
        font-size: 16px;
        margin-bottom: 25px;
    }

    #about.about .col-lg-6:first-child::before,
    #about.about .col-lg-6:last-child::before {
        font-size: 28px;
        top: -12px;
    }
}

@media (max-width: 768px) {
    #about.about {
        padding: 50px 0 60px 0;
    }

    #about.about .section-title h2 {
        font-size: 26px;
    }

    #about.about .section-title h2::after {
        width: 60px;
        height: 3px;
    }

    #about.about .col-lg-6 p {
        padding: 22px 24px;
        font-size: 15px;
        line-height: 1.8;
        border-radius: 12px;
    }

    #about.about::before,
    #about.about::after {
        width: 200px;
        height: 200px;
    }
}

/* Dark Mode - Sections */
body.dark-mode #clients,
body.dark-mode #about,
body.dark-mode #services,
body.dark-mode #more-services,
body.dark-mode #features,
body.dark-mode #contact {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
}

/* Dark Mode - About Section Specific */
body.dark-mode #about.about {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body.dark-mode #about.about::before {
    background: radial-gradient(circle, rgba(209, 170, 43, 0.1) 0%, transparent 70%);
}

body.dark-mode #about.about::after {
    background: radial-gradient(circle, rgba(0, 160, 192, 0.08) 0%, transparent 70%);
}

body.dark-mode #about.about .section-title h2 {
    color: #fff;
}

body.dark-mode #about.about .col-lg-6 p {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c0c0c0;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode #about.about .col-lg-6 p:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(209, 170, 43, 0.3);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(209, 170, 43, 0.1);
}

body.dark-mode .section-title h2 {
    color: #fff;
}

/* Dark Mode - Cards */
body.dark-mode #services .icon-box,
body.dark-mode #more-services .icon-box,
body.dark-mode #features .card,
body.dark-mode #contact .info,
body.dark-mode #contact .php-email-form,
body.dark-mode #about .content p {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

body.dark-mode #services .icon-box:hover,
body.dark-mode #more-services .icon-box:hover,
body.dark-mode #features .card:hover,
body.dark-mode #contact .info:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

body.dark-mode .icon-box .title a,
body.dark-mode .title a {
    color: #fff;
}

body.dark-mode .icon-box .description,
body.dark-mode .description,
body.dark-mode #features .card-body,
body.dark-mode #contact .info p {
    color: #b0b0b0;
}

/* Dark Mode - Clients Section */
body.dark-mode #clients {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 50%, rgba(15, 52, 96, 0.95) 100%);
}

body.dark-mode #clients::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(209, 170, 43, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(241, 89, 49, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 122, 140, 0.06) 0%, transparent 60%);
}

body.dark-mode #clients .section-title h2 {
    color: #fff;
}

body.dark-mode #clients .section-title p {
    color: #b0b0b0;
}

body.dark-mode .client-logo {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

body.dark-mode .client-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(209, 170, 43, 0.6);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(209, 170, 43, 0.2);
}

body.dark-mode .client-logo img {
    filter: brightness(0) invert(1) drop-shadow(0 5px 15px rgba(255, 255, 255, 0.3));
    opacity: 0.8;
}

body.dark-mode .client-logo:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 10px 25px rgba(209, 170, 43, 0.5));
    opacity: 1;
}

/* Dark Mode - Forms */
body.dark-mode #contact input,
body.dark-mode #contact textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

body.dark-mode #contact input:focus,
body.dark-mode #contact textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    color: #fff;
}

body.dark-mode #contact input::placeholder,
body.dark-mode #contact textarea::placeholder {
    color: #666;
}

/* Dark Mode - FAQ Cards */
body.dark-mode #features .card-header {
    background: rgba(255, 255, 255, 0.03);
}

body.dark-mode #features .card-header .btn_col {
    color: #e0e0e0;
}

body.dark-mode #features .card-header .btn_col:hover {
    background: rgba(209, 170, 43, 0.1);
    color: var(--accent-color);
}

/* Dark Mode - Homepage Control Buttons */
body.dark-mode .homepage-control-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

body.dark-mode .homepage-control-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

body.dark-mode .language-option {
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.2) 0%, rgba(241, 89, 49, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

body.dark-mode .language-option:hover {
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.3) 0%, rgba(241, 89, 49, 0.3) 100%);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

body.dark-mode .homepage-dark-mode-btn {
    background: linear-gradient(135deg, rgba(209, 170, 43, 0.2) 0%, rgba(0, 122, 140, 0.2) 100%);
}

body.dark-mode .homepage-login-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #b08a1f 100%);
    color: #000 !important;
    font-weight: 700;
}

body.dark-mode .homepage-login-btn:hover {
    color: #000 !important;
}

/* Dark Mode - Scrollbar */
body.dark-mode::-webkit-scrollbar-track {
    background: #1a1a2e;
}

body.dark-mode::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Dark Mode - Counts Section (Already dark, adjust brightness) */
body.dark-mode #counts {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
}

body.dark-mode #counts .count-box {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode #counts .count-box:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Responsive Mobile Menu */
@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
        position: absolute;
        inset: 60px 20px auto 20px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        align-items: stretch;
        border: 1px solid rgba(0, 122, 140, 0.1);
        z-index: 999;
    }

    .navbar ul li {
        width: 100%;
    }

    .navbar a {
        padding: 12px 20px;
        margin: 4px 0;
    }

    .navbar-mobile {
        overflow: hidden;
    }

    .navbar-mobile .navbar ul {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

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

    .navbar-mobile .getstarted {
        margin: 8px 0;
    }

    #header .logo img {
        height: 50px;
    }

    /* Homepage Control Buttons - Mobile */
    .homepage-controls-item {
        margin: 8px 0;
        width: 100%;
    }

    .homepage-control-btn,
    .language-option {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    body.dark-mode .navbar ul {
        background: rgba(26, 26, 46, 0.98);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 768px) {

    .homepage-control-btn,
    .language-option {
        font-size: 13px;
        padding: 10px 16px;
    }

    .homepage-control-btn i,
    .language-option i {
        font-size: 14px;
    }

    .lang-text,
    .login-text,
    .language-option span {
        font-size: 12px;
    }
}

/* Modern Hero Section */
#hero {
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.05) 0%, rgba(241, 89, 49, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

#hero h1 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

#hero .btn-get-started {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    border: none !important;
    padding: 14px 40px !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-md);
    transition: var(--transition) !important;
}

#hero .btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

#hero .hero-img img {
    filter: drop-shadow(0 10px 30px rgba(0, 122, 140, 0.2));
}

/* Modern Clients Section */
#clients {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

#clients img {
    transition: var(--transition);
}

#clients img:hover {
    transform: translateY(-8px);
}

/* Modern Section Titles */
.section-title h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* Modern About Section */
#about .content {
    /*background: white;*/
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Modern Counts Section */
#counts {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
}

#counts .count-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#counts .count-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#counts .count-box i {
    font-size: 48px;
    color: var(--accent-color);
}

#counts .purecounter {
    font-size: 48px;
    font-weight: 800;
    color: white;
}

#counts .count-box p {
    color: white;
    font-weight: 600;
}

/* Modern Services Section */
#services {
    background: var(--light-bg);
}

#services .icon-box {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

#services .icon-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

#services .icon-box .icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

#services .icon-box .icon i {
    color: white;
    font-size: 36px;
}

#services .icon-box h4 {
    color: var(--primary-color);
    font-weight: 700;
}

#services .icon-box h4 a {
    color: var(--primary-color);
}

/* Modern More Features */
.more-services {
    background: white;
}

.more-services .card {
    border: none !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition) !important;
    overflow: hidden;
}

.more-services .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.more-services .card-img-top {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: var(--transition);
}

.more-services .card:hover .card-img-top {
    transform: scale(1.05);
}

.more-services .card-title {
    color: var(--primary-color);
    font-weight: 700;
}

.more-services .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 30px !important;
    transition: var(--transition) !important;
}

.more-services .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Modern CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color)) !important;
    position: relative;
}

.cta h3 {
    color: white;
    font-weight: 700;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
}

.cta .cta-btn {
    background: white !important;
    color: var(--primary-color) !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    padding: 14px 40px !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-md) !important;
    transition: var(--transition) !important;
}

.cta .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg) !important;
    background: var(--accent-color) !important;
    color: white !important;
}

/* Modern Portfolio */
#portfolio .portfolio-wrap {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

#portfolio .portfolio-wrap:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

#portfolio .portfolio-info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
}

/* Modern Team */
#team .member {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

#team .member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

#team .member .pic {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
}

#team .member h4 {
    color: var(--primary-color);
    font-weight: 700;
}

#team .member .social a {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

#team .member .social a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Modern Pricing */
#pricing .box {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

#pricing .box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

#pricing .box.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    transform: scale(1.05);
}

#pricing .box h3 {
    color: var(--primary-color);
    font-weight: 800;
}

#pricing .box.featured h3 {
    color: white;
}

#pricing .btn-buy {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 8px;
    padding: 10px 30px;
    transition: var(--transition);
}

#pricing .btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Modern FAQ */
.faq .accordion-item {
    border: none !important;
    border-radius: var(--border-radius) !important;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq .accordion-button {
    background: white !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    border-radius: var(--border-radius) !important;
}

.faq .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    color: white !important;
}

/* Modern Contact */
#contact .info-box {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 30px;
}

#contact .info-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

#contact .info-box i {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
}

#contact .php-email-form input,
#contact .php-email-form textarea {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 140, 0.1);
}

#contact .php-email-form button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 8px;
    padding: 12px 40px;
    transition: var(--transition);
}

#contact .php-email-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== 
   MODERN FOOTER SECTION
   ==================== */
#footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #001f24 50%, #00151a 100%);
    padding: 60px 0 40px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
#footer::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 122, 140, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: footerOrbFloat 18s ease-in-out infinite;
    z-index: 0;
}

#footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(209, 170, 43, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: footerOrbFloat 14s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes footerOrbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(30px, -30px) scale(1.15);
        opacity: 0.9;
    }
}

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

/* Footer Row Alignment */
#footer .row {
    align-items: center;
}

/* Copyright Section */
#footer .copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

#footer .copyright::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

#footer .copyright strong {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#footer .copyright span {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 5px;
}

/* Certification Badges Container */
#footer .col-lg-6.text-lg-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

/* Certification Badge Images */
#footer .col-lg-6.text-lg-right img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    border-radius: 8px;
}

#footer .col-lg-6.text-lg-right img:hover {
    transform: translateY(-5px) scale(1.08);
    filter: brightness(1.1) drop-shadow(0 8px 20px rgba(209, 170, 43, 0.3));
}

/* Badge Link Styling */
#footer .col-lg-6.text-lg-right a {
    display: inline-block;
    position: relative;
    transition: all 0.4s ease;
}

#footer .col-lg-6.text-lg-right a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 1px;
}

#footer .col-lg-6.text-lg-right a:hover::after {
    width: 80%;
}

/* Footer Social Links (if added) */
#footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

#footer .social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#footer .social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 122, 140, 0.4);
    border-color: transparent;
}

/* Footer Top Border Accent */
#footer .container::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), var(--accent-color), transparent);
    border-radius: 2px;
}

/* Footer Title (if exists) */
#footer h4 {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

#footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Footer Links */
#footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

#footer .footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

#footer .footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

#footer .footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 20px;
}

#footer .footer-links ul li a:hover::before {
    opacity: 1;
    left: 0;
}

/* Footer Responsive */
@media (max-width: 991px) {
    #footer {
        padding: 50px 0 30px 0;
        text-align: center;
    }

    #footer .copyright {
        padding-left: 0;
        margin-bottom: 30px;
    }

    #footer .copyright::before {
        display: none;
    }

    #footer .col-lg-6.text-lg-right {
        justify-content: center;
    }

    #footer .container::before {
        width: 150px;
    }
}

@media (max-width: 768px) {
    #footer {
        padding: 40px 0 25px 0;
    }

    #footer .copyright {
        font-size: 14px;
    }

    #footer .col-lg-6.text-lg-right {
        gap: 15px;
    }

    #footer .col-lg-6.text-lg-right img {
        max-height: 50px !important;
    }

    #footer::before,
    #footer::after {
        width: 200px;
        height: 200px;
    }
}

/* Dark Mode - Footer (Footer is already dark, but ensure consistency) */
body.dark-mode #footer {
    background: linear-gradient(135deg, #0a0e17 0%, #0f1524 50%, #1a1a2e 100%);
}

body.dark-mode #footer::before {
    background: radial-gradient(circle, rgba(209, 170, 43, 0.08) 0%, transparent 70%);
}

body.dark-mode #footer::after {
    background: radial-gradient(circle, rgba(0, 160, 192, 0.06) 0%, transparent 70%);
}

/* Buttons Global Enhancement */
.btn {
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Images Enhancement */
img {
    transition: var(--transition);
}

/* Cards Global Enhancement */
.card {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --border-radius: 8px;
    }

    #hero h1 {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    #services .icon-box,
    #team .member,
    #pricing .box {
        margin-bottom: 20px;
    }
}

/* Header Animation on Load */
@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

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

#header {
    animation: headerSlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
}

/* Navbar Items Stagger Animation */
@keyframes navItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.navbar ul li {
    animation: navItemFadeIn 0.5s ease backwards;
}

.navbar ul li:nth-child(1) {
    animation-delay: 0.1s;
}

.navbar ul li:nth-child(2) {
    animation-delay: 0.15s;
}

.navbar ul li:nth-child(3) {
    animation-delay: 0.2s;
}

.navbar ul li:nth-child(4) {
    animation-delay: 0.25s;
}

.navbar ul li:nth-child(5) {
    animation-delay: 0.3s;
}

.navbar ul li:nth-child(6) {
    animation-delay: 0.35s;
}

.navbar ul li:nth-child(7) {
    animation-delay: 0.4s;
}

.navbar ul li:nth-child(8) {
    animation-delay: 0.45s;
}

/* Logo Pulse Effect on Load */
@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

#header .logo img {
    animation: logoPulse 2s ease-in-out 1;
}

/* Header Shine Effect */
#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

#header:hover::before {
    left: 100%;
}

/* Active Link Indicator */
.navbar .active {
    position: relative;
}

.navbar .active::before {
    transform: translateX(-50%) scaleX(1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Scroll Indicator for Header */
@keyframes scrollIndicator {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* ==================== 
   CLIENTS / PLATFORMS SECTION - MODERN DESIGN
   ==================== */
#clients {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f7f9 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background */
#clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 122, 140, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(241, 89, 49, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(209, 170, 43, 0.03) 0%, transparent 60%);
    animation: clientsGlow 12s ease-in-out infinite;
    z-index: 0;
}

@keyframes clientsGlow {

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

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Floating Shapes */
#clients::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.1), transparent);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatShape 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, -30px) scale(1.2);
    }
}

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

/* Section Title */
#clients .section-title {
    text-align: center;
    margin-bottom: 60px;
}

#clients .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

#clients .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

#clients .section-title p {
    font-size: 16px;
    color: #666;
    margin: 15px auto 0;
    max-width: 600px;
}

/* Clients Slider */
#clients .clients-slider {
    position: relative;
}

#clients .row {
    align-items: center;
    justify-content: center;
}

#clients [class*="col-"] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

/* Client Logo 3D Card */
.client-logo {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: visible;
    /* Allow 3D pop out */
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Logo Image POP out */
.client-logo img {
    width: auto !important;
    height: auto;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(20px);
    /* Base depth */
    z-index: 2;
}

.clients img {
    filter: none !important;
}

.client-logo:hover {
    transform: rotateX(10deg) rotateY(-10deg) translateY(-10px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: translateZ(50px) scale(1.1);
    /* Pop out more on hover */
}

/* Individual Logo Animations */
.client-logo {
    animation: logoFloat 3s ease-in-out infinite;
}

.client-logo:nth-child(1) {
    animation-delay: 0s;
}

.client-logo:nth-child(2) {
    animation-delay: 0.2s;
}

.client-logo:nth-child(3) {
    animation-delay: 0.4s;
}

.client-logo:nth-child(4) {
    animation-delay: 0.6s;
}

.client-logo:nth-child(5) {
    animation-delay: 0.8s;
}

.client-logo:nth-child(6) {
    animation-delay: 1s;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ==================== 
   ABOUT / SOFTWARE ESCROW SECTION
   ==================== */
#about {
    padding: 80px 0;
}

#about .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#about .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

#about .content {
    margin-top: 40px;
}

#about .content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

#about .content p:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(0, 122, 140, 0.12);
}

/* ==================== 
   COUNTS SECTION
   ==================== */
/* ==================== 
   MODERN COUNTS SECTION
   ==================== */
#counts.counts {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a66 50%, var(--dark-color) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Animated Background with Multiple Orbs */
#counts.counts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(241, 89, 49, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(209, 170, 43, 0.08) 0%, transparent 50%);
    animation: countsBackgroundPulse 12s ease-in-out infinite;
    z-index: 0;
}

#counts.counts::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 40%, rgba(209, 170, 43, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(0, 160, 192, 0.06) 0%, transparent 30%);
    animation: countsOrbFloat 20s linear infinite;
    z-index: 0;
}

@keyframes countsBackgroundPulse {

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

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

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

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

/* Floating Particles Effect */
#counts.counts .container {
    position: relative;
    z-index: 1;
}

/* Content Wrapper with Glassmorphism */
#counts.counts .content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 45px 35px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

#counts.counts .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Count Box Cards with Premium Glass Effect */
#counts.counts .count-box {
    padding: 35px 25px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Gradient Top Border on Cards */
#counts.counts .count-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--primary-light));
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s ease;
}

/* Shimmer Effect on Hover */
#counts.counts .count-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

#counts.counts .count-box:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

#counts.counts .count-box:hover::after {
    left: 100%;
}

#counts.counts .count-box:hover {
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        0 0 40px rgba(209, 170, 43, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(209, 170, 43, 0.3);
}

/* Icon Styling with Glow Effect */
#counts.counts .count-box i {
    font-size: 52px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(209, 170, 43, 0.4));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(209, 170, 43, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 6px 18px rgba(209, 170, 43, 0.6));
    }
}

#counts.counts .count-box:hover i {
    transform: scale(1.2) rotate(8deg);
    filter: drop-shadow(0 8px 20px rgba(209, 170, 43, 0.7));
    animation: none;
}

/* Counter Number Styling with Gradient */
#counts.counts .count-box span,
#counts.counts .count-box .purecounter {
    font-size: 40px;
    display: block;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    animation: numberShine 4s ease-in-out infinite;
    letter-spacing: -1px;
}

@keyframes numberShine {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Label Text Styling */
#counts.counts .count-box p {
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#counts.counts .count-box p strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

/* YouTube iFrame Styling */
#counts.counts iframe {
    border-radius: 24px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.1);
    border: none;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

#counts.counts iframe:hover {
    transform: scale(1.02);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 0 4px rgba(209, 170, 43, 0.3);
}

/* Video Container Glow */
#counts.counts .image {
    position: relative;
}

#counts.counts .image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(209, 170, 43, 0.2) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 0;
    animation: videoGlow 5s ease-in-out infinite;
}

@keyframes videoGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Counts Section - Responsive */
@media (max-width: 1199px) {
    #counts.counts {
        padding: 80px 0;
    }

    #counts.counts .count-box span,
    #counts.counts .count-box .purecounter {
        font-size: 48px;
    }

    #counts.counts .count-box i {
        font-size: 46px;
    }
}

@media (max-width: 991px) {
    #counts.counts {
        padding: 60px 0;
    }

    #counts.counts .content {
        padding: 30px 25px;
        margin-top: 40px;
    }

    #counts.counts .count-box {
        padding: 28px 20px;
    }

    #counts.counts .count-box span,
    #counts.counts .count-box .purecounter {
        font-size: 42px;
    }

    #counts.counts .count-box i {
        font-size: 42px;
    }

    #counts.counts .count-box p {
        font-size: 13px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 768px) {
    #counts.counts {
        padding: 50px 0;
    }

    #counts.counts .count-box {
        padding: 25px 18px;
        margin-bottom: 20px;
    }

    #counts.counts .count-box span,
    #counts.counts .count-box .purecounter {
        font-size: 36px;
    }

    #counts.counts .count-box i {
        font-size: 38px;
        margin-bottom: 15px;
    }

    #counts.counts iframe {
        border-radius: 16px;
    }
}

/* Dark Mode - Counts Section */
body.dark-mode #counts.counts {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f1524 50%, #0a0e17 100%);
}

body.dark-mode #counts.counts::before {
    background:
        radial-gradient(circle at 10% 20%, rgba(209, 170, 43, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(241, 89, 49, 0.08) 0%, transparent 45%);
}

body.dark-mode #counts.counts .count-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode #counts.counts .count-box:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border-color: rgba(209, 170, 43, 0.4);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(209, 170, 43, 0.15);
}

/* ==================== 
   MODERN SERVICES SECTION
   ==================== */
#services.services {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 50%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Orbs */
#services.services::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 122, 140, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: servicesOrbFloat 14s ease-in-out infinite;
    z-index: 0;
}

#services.services::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(241, 89, 49, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: servicesOrbFloat 12s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes servicesOrbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-40px, 30px) scale(1.15);
        opacity: 1;
    }
}

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

/* Section Title */
#services.services .section-title {
    margin-bottom: 70px;
    text-align: center;
    position: relative;
}

#services.services .section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    animation: servicesTitleSlide 0.8s ease-out;
}

#services.services .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

@keyframes servicesTitleSlide {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

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

/* Service Cards - Icon Box */
#services.services .icon-box {
    height: 100%;
    padding: 35px 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 122, 140, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Gradient Top Border on Cards */
#services.services .icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer Effect */
#services.services .icon-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

#services.services .icon-box:hover::before {
    transform: scaleX(1);
}

#services.services .icon-box:hover::after {
    left: 100%;
}

#services.services .icon-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 122, 140, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 122, 140, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

/* Service Card Image */
#services.services .icon-box .img_more {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    position: relative;
}

#services.services .icon-box:hover .img_more {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 122, 140, 0.2);
}

/* Card Title */
#services.services .icon-box .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 22px;
    position: relative;
}

#services.services .icon-box .title a {
    color: var(--dark-color);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

#services.services .icon-box .title a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

#services.services .icon-box:hover .title a {
    color: var(--primary-color);
}

#services.services .icon-box:hover .title a::after {
    width: 100%;
}

/* Card Description */
#services.services .icon-box .description {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 25px;
}

/* Learn More Button */
#services.services .btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 122, 140, 0.25);
}

#services.services .btn-learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#services.services .btn-learn-more::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

#services.services .btn-learn-more:hover::before {
    left: 100%;
}

#services.services .btn-learn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 122, 140, 0.35);
}

#services.services .btn-learn-more:hover::after {
    transform: translateX(5px);
}

/* Staggered Card Animation */
#services.services .col-md-6:nth-child(1) .icon-box {
    animation: cardSlideIn 0.6s ease-out 0.1s backwards;
}

#services.services .col-md-6:nth-child(2) .icon-box {
    animation: cardSlideIn 0.6s ease-out 0.2s backwards;
}

#services.services .col-md-6:nth-child(3) .icon-box {
    animation: cardSlideIn 0.6s ease-out 0.3s backwards;
}

#services.services .col-md-6:nth-child(4) .icon-box {
    animation: cardSlideIn 0.6s ease-out 0.4s backwards;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Services Section - Responsive */
@media (max-width: 1199px) {
    #services.services {
        padding: 80px 0;
    }

    #services.services .section-title h2 {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    #services.services {
        padding: 60px 0;
    }

    #services.services .section-title {
        margin-bottom: 50px;
    }

    #services.services .section-title h2 {
        font-size: 32px;
    }

    #services.services .icon-box {
        padding: 28px 24px;
        margin-bottom: 30px;
    }

    #services.services .icon-box .img_more {
        height: 180px;
    }
}

@media (max-width: 768px) {
    #services.services {
        padding: 50px 0;
    }

    #services.services .section-title h2 {
        font-size: 26px;
    }

    #services.services .section-title h2::after {
        width: 70px;
        height: 3px;
    }

    #services.services .icon-box {
        padding: 24px 20px;
        border-radius: 16px;
    }

    #services.services .icon-box .img_more {
        height: 160px;
        border-radius: 12px;
    }

    #services.services .icon-box .title {
        font-size: 20px;
    }

    #services.services .icon-box .description {
        font-size: 14px;
    }

    #services.services::before,
    #services.services::after {
        width: 200px;
        height: 200px;
    }
}

/* Dark Mode - Services Section */
body.dark-mode #services.services {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body.dark-mode #services.services::before {
    background: radial-gradient(circle, rgba(209, 170, 43, 0.08) 0%, transparent 70%);
}

body.dark-mode #services.services::after {
    background: radial-gradient(circle, rgba(0, 160, 192, 0.06) 0%, transparent 70%);
}

body.dark-mode #services.services .section-title h2 {
    color: #fff;
}

body.dark-mode #services.services .icon-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode #services.services .icon-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(209, 170, 43, 0.3);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(209, 170, 43, 0.1);
}

body.dark-mode #services.services .icon-box .title a {
    color: #fff;
}

body.dark-mode #services.services .icon-box:hover .title a {
    color: var(--accent-color);
}

body.dark-mode #services.services .icon-box .description {
    color: #b0b0b0;
}

/* ==================== 
   MODERN MORE SERVICES SECTION (Process Steps)
   ==================== */
#more-services.more-services {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
#more-services.more-services::before {
    content: '';
    position: absolute;
    top: 15%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 122, 140, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: moreServicesOrbFloat 15s ease-in-out infinite;
    z-index: 0;
}

#more-services.more-services::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(241, 89, 49, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: moreServicesOrbFloat 12s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes moreServicesOrbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(30px, -40px) scale(1.2);
        opacity: 1;
    }
}

#more-services.more-services .container {
    position: relative;
    z-index: 1;
}

/* Section Title */
#more-services.more-services .section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

#more-services.more-services .section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 0;
    animation: moreServicesTitleSlide 0.8s ease-out;
}

#more-services.more-services .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

@keyframes moreServicesTitleSlide {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

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

/* Process Step Cards */
#more-services.more-services .icon-box {
    padding: 40px 35px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 8px 32px rgba(0, 122, 140, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

/* Gradient Top Border Effect */
#more-services.more-services .icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer Hover Effect */
#more-services.more-services .icon-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.7s ease;
}

#more-services.more-services .icon-box:hover::before {
    transform: scaleX(1);
}

#more-services.more-services .icon-box:hover::after {
    left: 100%;
}

#more-services.more-services .icon-box:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 122, 140, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 122, 140, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

/* Step Image/Icon */
#more-services.more-services .img_more {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 8px 20px rgba(0, 122, 140, 0.15));
    animation: stepIconFloat 4s ease-in-out infinite;
}

@keyframes stepIconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(3deg);
    }
}

#more-services.more-services .icon-box:hover .img_more {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 12px 28px rgba(0, 122, 140, 0.25));
    animation: none;
}

/* Step Title */
#more-services.more-services .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
    position: relative;
}

#more-services.more-services .title a {
    color: var(--dark-color);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

#more-services.more-services .title a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

#more-services.more-services .icon-box:hover .title a {
    color: var(--primary-color);
}

#more-services.more-services .icon-box:hover .title a::after {
    width: 100%;
}

/* Step Description */
#more-services.more-services .description {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    text-align: center;
    margin: 0;
}

/* Step Number Badge */
#more-services.more-services .row:nth-child(1) .col-md-6:nth-child(1) .icon-box::before,
#more-services.more-services .row:nth-child(1) .col-md-6:nth-child(2) .icon-box::before {
    display: none;
}

/* Add Step Numbers via CSS Counter */
#more-services.more-services .container {
    counter-reset: step-counter;
}

#more-services.more-services .icon-box .text-center::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: 20px;
    left: 20px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 122, 140, 0.3);
    z-index: 2;
}

/* Staggered Animation for Cards */
#more-services.more-services .row:nth-child(1) .col-md-6:nth-child(1) .icon-box {
    animation: stepCardSlide 0.6s ease-out 0.1s backwards;
}

#more-services.more-services .row:nth-child(1) .col-md-6:nth-child(2) .icon-box {
    animation: stepCardSlide 0.6s ease-out 0.2s backwards;
}

#more-services.more-services .row:nth-child(2) .col-md-6:nth-child(1) .icon-box {
    animation: stepCardSlide 0.6s ease-out 0.3s backwards;
}

#more-services.more-services .row:nth-child(2) .col-md-6:nth-child(2) .icon-box {
    animation: stepCardSlide 0.6s ease-out 0.4s backwards;
}

#more-services.more-services .row:nth-child(3) .col-md-6:nth-child(1) .icon-box {
    animation: stepCardSlide 0.6s ease-out 0.5s backwards;
}

#more-services.more-services .row:nth-child(3) .col-md-6:nth-child(2) .icon-box {
    animation: stepCardSlide 0.6s ease-out 0.6s backwards;
}

@keyframes stepCardSlide {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* More Services - Responsive */
@media (max-width: 1199px) {
    #more-services.more-services {
        padding: 80px 0;
    }

    #more-services.more-services .section-title h2 {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    #more-services.more-services {
        padding: 60px 0;
    }

    #more-services.more-services .section-title {
        margin-bottom: 50px;
    }

    #more-services.more-services .section-title h2 {
        font-size: 32px;
    }

    #more-services.more-services .icon-box {
        padding: 32px 28px;
    }

    #more-services.more-services .img_more {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    #more-services.more-services {
        padding: 50px 0;
    }

    #more-services.more-services .section-title h2 {
        font-size: 26px;
    }

    #more-services.more-services .section-title h2::after {
        width: 80px;
        height: 3px;
    }

    #more-services.more-services .icon-box {
        padding: 28px 22px;
        border-radius: 18px;
    }

    #more-services.more-services .img_more {
        width: 80px;
        height: 80px;
    }

    #more-services.more-services .title {
        font-size: 20px;
    }

    #more-services.more-services .description {
        font-size: 14px;
    }

    #more-services.more-services .icon-box .text-center::before {
        width: 30px;
        height: 30px;
        font-size: 14px;
        top: 15px;
        left: 15px;
    }

    #more-services.more-services::before,
    #more-services.more-services::after {
        width: 200px;
        height: 200px;
    }
}

/* Dark Mode - More Services Section */
body.dark-mode #more-services.more-services {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body.dark-mode #more-services.more-services::before {
    background: radial-gradient(circle, rgba(209, 170, 43, 0.08) 0%, transparent 70%);
}

body.dark-mode #more-services.more-services::after {
    background: radial-gradient(circle, rgba(0, 160, 192, 0.06) 0%, transparent 70%);
}

body.dark-mode #more-services.more-services .section-title h2 {
    color: #fff;
}

body.dark-mode #more-services.more-services .icon-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode #more-services.more-services .icon-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(209, 170, 43, 0.3);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(209, 170, 43, 0.1);
}

body.dark-mode #more-services.more-services .title a {
    color: #fff;
}

body.dark-mode #more-services.more-services .icon-box:hover .title a {
    color: var(--accent-color);
}

body.dark-mode #more-services.more-services .description {
    color: #b0b0b0;
}

body.dark-mode #more-services.more-services .img_more {
    filter: drop-shadow(0 8px 20px rgba(209, 170, 43, 0.2)) brightness(1.1);
}

body.dark-mode #more-services.more-services .icon-box .text-center::before {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(209, 170, 43, 0.4);
}

/* ==================== 
   MODERN FEATURES / FAQ SECTION
   ==================== */
#features.features {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 50%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Orbs */
#features.features::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -8%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 122, 140, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: faqOrbFloat 16s ease-in-out infinite;
    z-index: 0;
}

#features.features::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(209, 170, 43, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: faqOrbFloat 12s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes faqOrbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-30px, 40px) scale(1.15);
        opacity: 1;
    }
}

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

/* Section Title */
#features.features .section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

#features.features .section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 0;
    animation: faqTitleSlide 0.8s ease-out;
}

#features.features .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

@keyframes faqTitleSlide {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

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

/* Accordion Container */
#features.features #accordion {
    max-width: 900px;
    margin: 0 auto;
    counter-reset: faq-counter;
}

/* FAQ Card */
#features.features .card {
    border: none;
    border-radius: 20px;
    box-shadow:
        0 4px 20px rgba(0, 122, 140, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    animation: faqCardSlide 0.6s ease-out backwards;
}

#features.features .card:nth-child(1) {
    animation-delay: 0.1s;
}

#features.features .card:nth-child(2) {
    animation-delay: 0.15s;
}

#features.features .card:nth-child(3) {
    animation-delay: 0.2s;
}

#features.features .card:nth-child(4) {
    animation-delay: 0.25s;
}

#features.features .card:nth-child(5) {
    animation-delay: 0.3s;
}

@keyframes faqCardSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

#features.features .card:hover {
    box-shadow:
        0 12px 40px rgba(0, 122, 140, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: rgba(0, 122, 140, 0.15);
}

/* Card Header */
#features.features .card-header {
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
}

/* Question Number Badge */
#features.features .card-header::before {
    counter-increment: faq-counter;
    content: counter(faq-counter);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 122, 140, 0.3);
    z-index: 2;
}

/* Question Button */
#features.features .card-header .btn_col {
    width: 100%;
    text-align: left;
    padding: 24px 70px 24px 75px;
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-color);
    text-decoration: none;
    border: none;
    background: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Expand/Collapse Icon */
#features.features .card-header .btn_col::after {
    content: '';
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.1), rgba(241, 89, 49, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#features.features .card-header .btn_col::before {
    content: '+';
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    font-size: 20px;
    font-weight: 300;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#features.features .card-header .btn_col:not(.collapsed)::before {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    color: var(--secondary-color);
}

#features.features .card-header .btn_col:not(.collapsed)::after {
    background: linear-gradient(135deg, rgba(241, 89, 49, 0.15), rgba(209, 170, 43, 0.15));
    transform: translateY(-50%) rotate(180deg);
}

#features.features .card-header .btn_col:hover {
    color: var(--primary-color);
}

#features.features .card-header .btn_col:hover::after {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 122, 140, 0.2);
}

/* Active Card State */
#features.features .card:has(.btn_col:not(.collapsed)) {
    border-color: rgba(0, 122, 140, 0.2);
    box-shadow:
        0 12px 40px rgba(0, 122, 140, 0.12),
        0 0 0 2px rgba(0, 122, 140, 0.05);
}

/* Card Body (Answer) */
#features.features .card-body {
    padding: 0 75px 28px 75px;
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    background: transparent;
    position: relative;
}

#features.features .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 75px;
    right: 75px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 140, 0.15), transparent);
}

/* Collapse Animation Enhancement */
#features.features .collapse {
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#features.features .collapsing {
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Features - Responsive */
@media (max-width: 1199px) {
    #features.features {
        padding: 80px 0;
    }

    #features.features .section-title h2 {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    #features.features {
        padding: 60px 0;
    }

    #features.features .section-title {
        margin-bottom: 50px;
    }

    #features.features .section-title h2 {
        font-size: 32px;
    }

    #features.features .card-header .btn_col {
        padding: 20px 60px 20px 65px;
        font-size: 16px;
    }

    #features.features .card-body {
        padding: 0 65px 24px 65px;
    }

    #features.features .card-header::before {
        left: 20px;
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    #features.features {
        padding: 50px 0;
    }

    #features.features .section-title h2 {
        font-size: 26px;
    }

    #features.features .section-title h2::after {
        width: 80px;
        height: 3px;
    }

    #features.features .card {
        border-radius: 16px;
        margin-bottom: 15px;
    }

    #features.features .card-header .btn_col {
        padding: 18px 50px 18px 55px;
        font-size: 15px;
    }

    #features.features .card-header::before {
        left: 15px;
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    #features.features .card-header .btn_col::before,
    #features.features .card-header .btn_col::after {
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    #features.features .card-body {
        padding: 0 20px 20px 55px;
        font-size: 14px;
    }

    #features.features .card-body::before {
        left: 55px;
        right: 20px;
    }

    #features.features::before,
    #features.features::after {
        width: 200px;
        height: 200px;
    }
}

/* Dark Mode - Features/FAQ Section */
body.dark-mode #features.features {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body.dark-mode #features.features::before {
    background: radial-gradient(circle, rgba(209, 170, 43, 0.08) 0%, transparent 70%);
}

body.dark-mode #features.features::after {
    background: radial-gradient(circle, rgba(0, 160, 192, 0.06) 0%, transparent 70%);
}

body.dark-mode #features.features .section-title h2 {
    color: #fff;
}

body.dark-mode #features.features .card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode #features.features .card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(209, 170, 43, 0.25);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(209, 170, 43, 0.08);
}

body.dark-mode #features.features .card:has(.btn_col:not(.collapsed)) {
    border-color: rgba(209, 170, 43, 0.3);
}

body.dark-mode #features.features .card-header .btn_col {
    color: #e0e0e0;
}

body.dark-mode #features.features .card-header .btn_col:hover {
    color: var(--accent-color);
}

body.dark-mode #features.features .card-header .btn_col::after {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode #features.features .card-header .btn_col::before {
    color: var(--accent-color);
}

body.dark-mode #features.features .card-header::before {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(209, 170, 43, 0.4);
}

body.dark-mode #features.features .card-body {
    color: #b0b0b0;
}

body.dark-mode #features.features .card-body::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* ==================== 
   CONTACT SECTION
   ==================== */
#contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f5f7fa 100%);
}

#contact .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 60px;
}

#contact .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

#contact .info {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

#contact .info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 122, 140, 0.12);
}

#contact .info div {
    margin-bottom: 20px;
}

#contact .info div:last-child {
    margin-bottom: 0;
}

#contact .info i {
    font-size: 24px;
    color: var(--primary-color);
    float: left;
    width: 44px;
    height: 44px;
    background: rgba(0, 122, 140, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#contact .info div:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

#contact .info p {
    padding: 0 0 0 60px;
    margin-bottom: 0;
    font-size: 15px;
    color: #666;
}

#contact .social-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

#contact .social-links a {
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#contact .social-links .twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1DA1F2;
}

#contact .social-links .twitter:hover {
    background: #1DA1F2;
    color: #fff;
    transform: translateY(-3px);
}

#contact .social-links .facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

#contact .social-links .facebook:hover {
    background: #1877F2;
    color: #fff;
    transform: translateY(-3px);
}

#contact .social-links .instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

#contact .social-links .instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    color: #fff;
    transform: translateY(-3px);
}

#contact .social-links .linkedin {
    background: rgba(0, 119, 181, 0.1);
    color: #0077B5;
}

#contact .social-links .linkedin:hover {
    background: #0077B5;
    color: #fff;
    transform: translateY(-3px);
}

#contact .php-email-form {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

#contact .php-email-form .form-group {
    margin-bottom: 20px;
}

#contact .php-email-form input,
#contact .php-email-form textarea {
    border-radius: 10px;
    box-shadow: none;
    font-size: 15px;
    padding: 12px 15px;
    border: 2px solid #e8ecf1;
    transition: all 0.3s ease;
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 140, 0.15);
}

#contact .php-email-form button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    padding: 12px 40px;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

#contact .php-email-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 122, 140, 0.3);
}

#contact .mapouter {
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 122, 140, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(0, 122, 140, 0.15);
}

/* Glow Effect on Map Container */
#contact .mapouter::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#contact .mapouter:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 122, 140, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 122, 140, 0.3);
}

#contact .mapouter:hover::before {
    opacity: 0.15;
}

#contact #gmap_canvas {
    border-radius: 20px;
    filter: saturate(1.1) contrast(1.05);
    transition: filter 0.3s ease;
}

#contact .mapouter:hover #gmap_canvas {
    filter: saturate(1.2) contrast(1.1);
}

/* Map Location Pin Indicator */
#contact .gmap_canvas {
    position: relative;
}

#contact .gmap_canvas::after {
    content: '📍';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    z-index: 10;
    animation: pinPulse 2s ease-in-out infinite;
}

@keyframes pinPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 24px rgba(0, 122, 140, 0.25);
    }
}

/* Dark Mode - Map Styling */
body.dark-mode #contact .mapouter {
    border-color: rgba(209, 170, 43, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode #contact .mapouter::before {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color), var(--primary-color));
}

body.dark-mode #contact .mapouter:hover {
    border-color: rgba(209, 170, 43, 0.4);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(209, 170, 43, 0.15);
}

body.dark-mode #contact .gmap_canvas::after {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(209, 170, 43, 0.3);
}

/* Responsive Styles for Sections */
@media (max-width: 991px) {
    #clients .section-title h2 {
        font-size: 32px;
    }

    #clients .section-title p {
        font-size: 15px;
    }

    .client-logo {
        height: 120px;
        padding: 25px;
    }

    .client-logo img {
        max-width: 80px;
    }
}

@media (max-width: 768px) {

    #clients,
    #about,
    #counts,
    #services,
    #more-services,
    #features,
    #contact {
        padding: 60px 0;
    }

    #clients {
        padding: 60px 0 40px;
    }

    #clients .section-title {
        margin-bottom: 40px;
    }

    #clients .section-title h2 {
        font-size: 28px !important;
    }

    #clients .section-title p {
        font-size: 14px;
        padding: 0 20px;
    }

    .client-logo {
        height: 100px;
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 15px;
    }

    .client-logo img {
        max-width: 60px;
    }

    #clients [class*="col-"] {
        padding: 10px;
    }

    .section-title h2 {
        font-size: 28px !important;
    }

    #counts .count-box {
        margin-bottom: 30px;
    }

    #services .icon-box,
    #more-services .icon-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    #clients .section-title h2 {
        font-size: 24px !important;
        padding-bottom: 15px;
    }

    #clients .section-title h2::after {
        width: 60px;
        height: 3px;
    }

    .client-logo {
        height: 90px;
        padding: 15px;
    }

    .client-logo img {
        max-width: 50px;
    }
}

/* ==================== 
   GLOBAL DARK MODE
   ==================== */
body.dark-mode {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #e2e8f0;
}

body.dark-mode #hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

body.dark-mode #hero::before {
    opacity: 0.1;
}

body.dark-mode #hero h1,
body.dark-mode #hero h2 {
    color: #fff !important;
}

body.dark-mode #hero p {
    color: #cbd5e1 !important;
}