/********** Template CSS **********/

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

/* Custom Blue Color Theme */
:root {
    --bs-primary: #408EE0;
    --bs-primary-dark: #1875BE;
    --bs-primary-darker: #001D64;
    --bs-primary-light: #88BFF8;
    --bs-primary-lighter: #b3d9ff;
    --bs-light: #88BFF8;
    --bs-dark: #001D64;
}

/* Apply Launch Digital Gradient Theme to bg-primary */
.bg-primary {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%) !important;
}

/* Apply Launch Digital Gradient Theme to ALL text-primary elements */
.text-primary,
h1 .text-primary,
h2 .text-primary,
h3 .text-primary,
h4 .text-primary,
h5 .text-primary,
h6 .text-primary,
span.text-primary {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Apply gradient to all main headings */
h1:not(.section-title):not(.display-1),
h2:not(.section-title),
h3:not(.section-title) {
    color: #001D64;
}

h1 span.text-primary,
h2 span.text-primary,
h3 span.text-primary {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section headers with full gradient */
.section-header {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%) !important;
}

.section-title {
    background: linear-gradient(135deg, #ffffff 0%, #b3d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About section styling */
.about-img::after {
    background: linear-gradient(135deg, rgba(0, 29, 100, 0.1) 0%, rgba(64, 142, 224, 0.05) 100%);
}

/* All containers with gradient accents */
.container-fluid.bg-light {
    background: linear-gradient(135deg, #b3d9ff 0%, #ffffff 50%, #88BFF8 100%) !important;
}

/*** Splash Screen ***/
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
}

.splash-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.splash-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(136, 191, 248, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.splash-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.splash-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

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

.splash-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    animation: pulse 2s ease-in-out infinite;
}

.splash-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.2));
}

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

.splash-brand {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Space Grotesk', sans-serif;
}

.splash-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.loader-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    animation: bounce 1.4s ease-in-out infinite;
}

.loader-dot:nth-child(1) {
    animation-delay: 0s;
}

.loader-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

.splash-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}

.splash-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 30px auto 0;
    overflow: hidden;
}

.splash-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 10px;
    width: 0%;
    animation: progress 2s ease-in-out;
}

@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .splash-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 25px;
    }
    
    .splash-brand {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .splash-text {
        font-size: 0.9rem;
    }
    
    .splash-progress {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .splash-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .splash-brand {
        font-size: 1.75rem;
    }
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: linear-gradient(135deg, rgba(0, 29, 100, 0.95) 0%, rgba(24, 117, 190, 0.9) 50%, rgba(64, 142, 224, 0.85) 100%);
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.spinner-grow.text-primary {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top,
.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transition: .5s;
    z-index: 9999 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.sticky-top.bg-white {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(64, 142, 224, 0.1);
    transition: all 0.3s ease;
}

/* Transparent navbar for overlap effect (like index.html) */
.sticky-top:not(.bg-white) {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* More solid white background when scrolled (other pages) */
body.other-page .navbar-scrolled .sticky-top.bg-white {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 2px 25px rgba(64, 142, 224, 0.15);
}

/* Navbar with white background when scrolled (for overlap pages) */
body.other-page .navbar-scrolled .sticky-top:not(.bg-white) {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(64, 142, 224, 0.1);
}

.navbar-wrapper {
    border-bottom: 1px solid rgba(64, 142, 224, 0.1);
}

/* Ensure navbar is always visible */
.navbar {
    min-height: 70px;
    padding: 0.5rem 0;
}

.navbar-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(64, 142, 224, 0.3) 50%, transparent 100%);
    margin: 0;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .navbar-brand img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar .navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar .navbar-brand h1 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 8px 0;
    outline: none;
    color: #001D64;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* Blue navbar text when overlapping (at top) - for other pages */
body.other-page .navbar .navbar-nav .nav-link {
    color: #001D64 !important;
}

body.other-page .navbar .dropdown-toggle::after {
    color: #001D64 !important;
}

body.other-page .navbar .navbar-brand h1 {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.other-page .navbar .navbar-nav .nav-link:hover,
body.other-page .navbar .navbar-nav .nav-link.active {
    color: #408EE0 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #408EE0 !important;
    background-clip: unset !important;
    font-weight: 600;
}

/* White navbar text when scrolled/sticky (for other pages) */
body.other-page .navbar-scrolled .navbar .navbar-nav .nav-link {
    color: white !important;
}

body.other-page .navbar-scrolled .navbar .dropdown-toggle::after {
    color: white !important;
}

body.other-page .navbar-scrolled .navbar .navbar-brand h1 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.other-page .navbar-scrolled .navbar .navbar-nav .nav-link:hover,
body.other-page .navbar-scrolled .navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 0.9) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
    background-clip: unset !important;
    font-weight: 600;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #408EE0, #1875BE, #001D64);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #408EE0;
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}


.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    color: #001D64;
    transition: transform 0.3s ease;
}

.navbar .dropdown-toggle:hover::after {
    transform: rotate(180deg);
}

.navbar .dropdown-menu {
    border: 1px solid rgba(64, 142, 224, 0.1);
    box-shadow: 0 8px 25px rgba(64, 142, 224, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.navbar .dropdown-menu .dropdown-item {
    padding: 0.5rem 1.5rem;
    color: #001D64;
    transition: all 0.3s ease;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: white;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    transform: translateX(5px);
}

@media (max-width: 991.98px) {
    /* Mobile view fixed navbar */
    .sticky-top,
    .sticky {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    .navbar .navbar-brand img {
        height: 50px;
    }
    
    .navbar .navbar-nav {
        text-align: center;
        align-items: center;
    }
    
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
        text-align: center;
        display: inline-block;
    }
    
    .navbar .navbar-nav .nav-link::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .navbar .navbar-nav .nav-link:hover::after,
    .navbar .navbar-nav .nav-link.active::after {
        width: 60%;
    }
    
    .navbar .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem;
        margin-left: 0;
        border: 1px solid rgba(64, 142, 224, 0.2);
        box-shadow: 0 4px 15px rgba(64, 142, 224, 0.1);
    }
    
    .navbar .dropdown-menu.show {
        display: block !important;
    }
    
    .navbar .dropdown-item {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(64, 142, 224, 0.05);
        text-align: center;
    }
    
    .navbar .dropdown-item:last-child {
        border-bottom: none;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
/* Body padding for fixed navbar */
html {
    overflow-x: hidden !important;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    scrollbar-width: thin;
    scrollbar-color: rgba(64, 142, 224, 0.5) transparent;
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(64, 142, 224, 0.6) 0%, rgba(24, 117, 190, 0.6) 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(64, 142, 224, 0.8) 0%, rgba(24, 117, 190, 0.8) 100%);
    background-clip: padding-box;
}

body {
    padding-top: 80px;
    overflow-x: hidden !important;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(64, 142, 224, 0.5) transparent;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(64, 142, 224, 0.6) 0%, rgba(24, 117, 190, 0.6) 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(64, 142, 224, 0.8) 0%, rgba(24, 117, 190, 0.8) 100%);
    background-clip: padding-box;
}

/* Hide horizontal scrollbars but keep vertical */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(64, 142, 224, 0.5) transparent;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(64, 142, 224, 0.6) 0%, rgba(24, 117, 190, 0.6) 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(64, 142, 224, 0.8) 0%, rgba(24, 117, 190, 0.8) 100%);
    background-clip: padding-box;
}

/* Hide horizontal scrollbars specifically */
*::-webkit-scrollbar:horizontal {
    height: 0;
    display: none;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }
}

.hero-header {
    margin-top: 0;
    padding-top: 100px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/* About Page Hero Section */
.about-hero-section {
    background: linear-gradient(135deg, rgba(0, 29, 100, 0.85) 0%, rgba(24, 117, 190, 0.8) 30%, rgba(64, 142, 224, 0.75) 70%, rgba(136, 191, 248, 0.7) 100%),
                url('../img/3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
    margin-top: 0;
}

/* Center hero content vertically and horizontally on desktop view only */
@media (min-width: 992px) {
    .about-hero-section {
        min-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about-hero-section .container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .about-hero-section .row {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(136, 191, 248, 0.12) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.about-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.about-hero-section > * {
    position: relative;
    z-index: 1;
}

.about-hero-content {
    padding: 1.5rem 0;
    text-align: center;
}

.about-hero-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.about-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.about-hero-title {
    color: rgba(255, 255, 255, 0.98);
    font-weight: 800;
    text-shadow: 0 2px 25px rgba(0, 0, 0, 0.25);
    letter-spacing: -2px;
}

.about-hero-brand {
    color: rgba(179, 217, 255, 0.9);
    font-weight: 600;
    text-shadow: 0 2px 20px rgba(179, 217, 255, 0.4);
    letter-spacing: 3px;
    background: linear-gradient(135deg, rgba(179, 217, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.about-hero-breadcrumb {
    padding: 2rem 0;
    text-align: right;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.about-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.about-breadcrumb .breadcrumb-item {
    font-size: 0.95rem;
}

.about-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-breadcrumb .breadcrumb-item a:hover {
    color: #b3d9ff;
    transform: translateX(3px);
}

.about-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.about-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.75rem;
    font-weight: normal;
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Project ***/
.project-card .project-frame iframe {
    transition: .5s;
}
  
.project-card:hover .project-frame iframe {
    transform: scale(1.2);
}

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


/*** Service ***/
/* Modern Services Section */
.services-section {
    background: linear-gradient(135deg, #ffffff 0%, rgba(179, 217, 255, 0.03) 100%);
}

.services-section .col-lg-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.services-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #001D64;
    line-height: 1.2;
    text-align: center;
}

.services-heading .services-underline {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.3rem;
}

.services-heading .services-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #408EE0, #1875BE, #001D64);
    border-radius: 2px;
}

.services-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    text-align: center;
}

/* Service Contact Card */
.service-contact-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(179, 217, 255, 0.15) 0%, rgba(136, 191, 248, 0.1) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(64, 142, 224, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.service-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(64, 142, 224, 0.15);
    border-color: #408EE0;
}

.service-contact-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 29, 100, 0.3);
}

.service-contact-content {
    margin-left: 1.25rem;
    flex: 1;
    text-align: center;
}

.service-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: #001D64;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    display: block;
}

.service-contact-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Modern Service Cards */
.service-card-modern {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(64, 142, 224, 0.2);
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

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

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

.service-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-primary {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
}

.service-card-primary .service-card-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-card-primary .service-card-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.service-card-light {
    background: white;
    border: 1px solid rgba(64, 142, 224, 0.1);
}

.service-card-light .service-card-title {
    color: #001D64;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card-light .service-card-description {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.service-card-light:hover {
    border-color: #408EE0;
    background: linear-gradient(135deg, #ffffff 0%, rgba(179, 217, 255, 0.05) 100%);
}

/* Responsive Styles for Services Section */
@media (max-width: 991.98px) {
    .services-heading {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .service-contact-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .service-contact-icon {
        margin-bottom: 1rem;
        margin-left: 0;
    }
    
    .service-contact-content {
        margin-left: 0;
    }
    
    .service-card-image {
        height: 150px;
    }
    
    .service-card-content {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .services-section .container {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .services-heading {
        font-size: 1.75rem;
    }
    
    .service-card-image {
        height: 140px;
    }
    
    .service-card-content {
        padding: 1rem;
    }
    
    .service-card-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .service-card-description {
        font-size: 0.8rem !important;
    }
    
    .service-contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .service-phone {
        font-size: 1.25rem;
    }
}

.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: linear-gradient(135deg, #b3d9ff 0%, #88BFF8 50%, #ffffff 100%) !important;
}

.service-item.bg-primary p {
    color: rgba(255, 255, 255, 0.9);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: #001D64;
}

.service-item.bg-light:hover {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%) !important;
}

/* Redesigned Service Cards */
.service-card-redesigned {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 29, 100, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-redesigned:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 29, 100, 0.2);
}

.service-card-header {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    padding: 1rem 1.25rem;
    color: white;
}

.service-card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.service-card-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.service-card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.service-card-body p {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Modern Contact Card */
.service-contact-card-modern {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 29, 100, 0.1);
    margin-top: 1.5rem;
}

.service-contact-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 1.25rem;
}

.service-contact-content-modern {
    flex: 1;
}

.service-phone-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #001D64;
    margin: 0;
}

.service-contact-text-modern {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Service Cards Responsive */
@media (max-width: 991.98px) {
    .service-card-image-wrapper {
        height: 180px;
    }
    
    .service-card-header h3 {
        font-size: 1rem;
    }
    
    .service-card-body {
        padding: 1rem;
    }
    
    .service-card-body p {
        font-size: 0.85rem;
    }
    
    .service-contact-card-modern {
        padding: 1.25rem;
    }
    
    .service-contact-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-right: 1rem;
    }
    
    .service-phone-modern {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .service-card-image-wrapper {
        height: 160px;
    }
    
    .service-card-header {
        padding: 0.875rem 1rem;
    }
    
    .service-card-header h3 {
        font-size: 0.95rem;
    }
    
    .service-card-body {
        padding: 0.875rem;
    }
    
    .service-card-body p {
        font-size: 0.8rem;
    }
    
    .service-contact-card-modern {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .service-contact-icon-modern {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-right: 0.875rem;
    }
    
    .service-phone-modern {
        font-size: 1.1rem;
    }
    
    .service-contact-text-modern {
        font-size: 0.85rem;
    }
}

/* Feature Section Styling */
.feature-section-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #001D64;
    margin-bottom: 3rem;
}

.feature-section-underline {
    position: relative;
    display: inline-block;
    color: #001D64;
}

.feature-section-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #408EE0, #1875BE, #001D64);
    border-radius: 2px;
}

.feature-item-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 29, 100, 0.08);
}

.feature-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 29, 100, 0.12);
    border-color: rgba(64, 142, 224, 0.2);
}

.feature-item-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(179, 217, 255, 0.2) 0%, rgba(136, 191, 248, 0.15) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item-card:hover .feature-item-icon {
    background: linear-gradient(135deg, rgba(64, 142, 224, 0.15) 0%, rgba(24, 117, 190, 0.1) 100%);
    transform: scale(1.1);
}

.feature-item-icon i {
    font-size: 2.5rem;
    color: #408EE0;
}

.feature-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #001D64;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-item-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Feature Section Responsive */
@media (max-width: 991.98px) {
    .feature-item-card {
        padding: 2rem 1.75rem;
    }
    
    .feature-item-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .feature-item-icon i {
        font-size: 2.25rem;
    }
    
    .feature-item-title {
        font-size: 1.15rem;
    }
    
    .feature-item-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .feature-section-heading {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }
    
    .feature-item-card {
        padding: 1.75rem 1.5rem;
    }
    
    .feature-item-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }
    
    .feature-item-icon i {
        font-size: 2rem;
    }
    
    .feature-item-title {
        font-size: 1.1rem;
        margin-bottom: 0.875rem;
    }
    
    .feature-item-description {
        font-size: 0.85rem;
    }
}

/* Additional Services Section */
.additional-services-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #001D64;
    margin-bottom: 1rem;
}

.additional-services-underline {
    position: relative;
    display: inline-block;
    color: #001D64;
}

.additional-services-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #408EE0, #1875BE, #001D64);
    border-radius: 2px;
}

.additional-services-subtitle {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
}

.additional-service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 29, 100, 0.1);
}

.additional-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 29, 100, 0.15);
    border-color: rgba(64, 142, 224, 0.3);
}

.additional-service-icon-wrapper {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 29, 100, 0.1);
}

.additional-service-icon-inner {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(179, 217, 255, 0.3) 0%, rgba(136, 191, 248, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.additional-service-icon-inner i {
    font-size: 2rem;
    color: #408EE0;
}

.additional-service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #001D64;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.additional-service-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Additional Services Responsive */
@media (max-width: 991.98px) {
    .additional-service-card {
        padding: 1.75rem;
    }
    
    .additional-service-icon-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 1.25rem;
    }
    
    .additional-service-icon-inner {
        width: 65px;
        height: 65px;
    }
    
    .additional-service-icon-inner i {
        font-size: 1.75rem;
    }
    
    .additional-service-title {
        font-size: 1.15rem;
    }
    
    .additional-service-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .additional-services-heading {
        font-size: 1.75rem;
    }
    
    .additional-services-subtitle {
        font-size: 0.95rem;
    }
    
    .additional-service-card {
        padding: 1.5rem;
    }
    
    .additional-service-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .additional-service-icon-inner {
        width: 60px;
        height: 60px;
    }
    
    .additional-service-icon-inner i {
        font-size: 1.5rem;
    }
    
    .additional-service-title {
        font-size: 1.1rem;
        margin-bottom: 0.875rem;
    }
    
    .additional-service-description {
        font-size: 0.85rem;
    }
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: linear-gradient(135deg, #b3d9ff 0%, #88BFF8 100%);
    color: #001D64;
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    color: var(--bs-white);
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
}

/* Team Section Redesigned */
.team-section-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #001D64;
    margin-bottom: 1rem;
}

.team-section-underline {
    position: relative;
    display: inline-block;
    color: #001D64;
}

.team-section-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #408EE0, #1875BE, #001D64);
    border-radius: 2px;
}

.team-section-description {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-card-redesigned {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 29, 100, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.team-card-redesigned:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 29, 100, 0.2);
}

.team-card-role {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.team-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card-redesigned:hover .team-card-image-wrapper img {
    transform: scale(1.1);
}

.team-card-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 29, 100, 0.85) 0%, rgba(24, 117, 190, 0.6) 50%, transparent 100%);
    pointer-events: none;
}

.team-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
}

.team-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team-card-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.team-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

.team-social-icon i {
    font-size: 1rem;
}

/* Responsive Styles for Team Cards */
@media (max-width: 991.98px) {
    .team-card-image-wrapper {
        height: 260px;
    }
    
    .team-card-name {
        font-size: 1.35rem;
    }
    
    .team-card-content {
        padding: 1.25rem;
    }
    
    .team-social-icon {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 767.98px) {
    .team-section-heading {
        font-size: 1.75rem;
    }
    
    .team-section-description {
        font-size: 0.95rem;
    }
    
    .team-card-image-wrapper {
        height: 240px;
    }
    
    .team-card-role {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }
    
    .team-card-name {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .team-card-content {
        padding: 1rem;
    }
    
    .team-social-icon {
        width: 36px;
        height: 36px;
    }
    
    .team-social-icon i {
        font-size: 0.9rem;
    }
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #408EE0, #1875BE, #001D64);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 100%);
}

/* Testimonial Section Redesigned */
.testimonial-section-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #001D64;
    margin-bottom: 1rem;
}

.testimonial-section-underline {
    position: relative;
    display: inline-block;
    color: #001D64;
}

.testimonial-section-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #408EE0, #1875BE, #001D64);
    border-radius: 2px;
}

.testimonial-section-description {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Testimonial Carousel Redesigned */
.testimonial-item-redesigned {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 29, 100, 0.1);
    margin: 1rem;
}

.testimonial-image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 29, 100, 0.15);
}

.testimonial-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-item-redesigned:hover .testimonial-image-wrapper img {
    transform: scale(1.05);
}

.testimonial-content-redesigned {
    padding: 1rem 0;
}

.testimonial-quote-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 29, 100, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: 0;
}

.testimonial-quote-icon i {
    font-size: 2.5rem;
    color: #408EE0;
    font-weight: 700;
}

.testimonial-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #001D64;
    margin-bottom: 1rem;
}

.testimonial-text-redesigned {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 29, 100, 0.1);
}

.testimonial-author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #001D64;
    margin: 0 0 0.25rem 0;
}

.testimonial-author-role {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Testimonial Cards Grid */
.testimonial-card-modern {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 29, 100, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 29, 100, 0.08);
}

.testimonial-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 29, 100, 0.15);
    border-color: rgba(64, 142, 224, 0.2);
}

.testimonial-card-quote {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(179, 217, 255, 0.2) 0%, rgba(136, 191, 248, 0.15) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.testimonial-card-quote i {
    font-size: 1.25rem;
    color: #408EE0;
}

.testimonial-card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 29, 100, 0.1);
}

.testimonial-card-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(64, 142, 224, 0.2);
}

.testimonial-card-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card-author-info {
    flex-grow: 1;
}

.testimonial-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: #001D64;
    margin: 0 0 0.25rem 0;
}

.testimonial-card-role {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.testimonial-card-rating {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.testimonial-card-rating i {
    font-size: 0.9rem;
    color: #FFD700;
}

/* Responsive Styles for Testimonials */
@media (max-width: 991.98px) {
    .testimonial-item-redesigned {
        padding: 2rem;
    }
    
    .testimonial-title {
        font-size: 1.35rem;
    }
    
    .testimonial-text-redesigned {
        font-size: 1rem;
    }
    
    .testimonial-card-modern {
        padding: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .testimonial-section-heading {
        font-size: 1.75rem;
    }
    
    .testimonial-section-description {
        font-size: 0.95rem;
    }
    
    .testimonial-item-redesigned {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .testimonial-quote-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-quote-icon i {
        font-size: 1.25rem;
    }
    
    .testimonial-title {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .testimonial-text-redesigned {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-card-modern {
        padding: 1.5rem;
    }
    
    .testimonial-card-quote {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .testimonial-card-quote i {
        font-size: 1.1rem;
    }
    
    .testimonial-card-text {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-card-name {
        font-size: 0.95rem;
    }
    
    .testimonial-card-role {
        font-size: 0.8rem;
    }
    
    .testimonial-card-author {
        gap: 0.75rem;
    }
    
    .testimonial-card-author-image {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
/* Modern Newsletter Section */
.newsletter-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.newsletter-image-section {
    position: relative;
    overflow: hidden;
}

.newsletter-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.newsletter-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.newsletter-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.newsletter-image-wrapper:hover .newsletter-image {
    filter: grayscale(70%) contrast(1.15);
    transform: scale(1.05);
}

.newsletter-content-section {
    position: relative;
}

.newsletter-content-wrapper {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 29, 100, 0.25);
    position: relative;
    overflow: hidden;
}

.newsletter-content-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(136, 191, 248, 0.15) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.newsletter-content-wrapper > * {
    position: relative;
    z-index: 1;
}

.newsletter-heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-brand {
    display: inline-block;
    color: #b3d9ff;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(179, 217, 255, 0.4);
    letter-spacing: 3px;
    background: linear-gradient(135deg, #b3d9ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-form-wrapper {
    width: 100%;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.newsletter-input-group:focus-within {
    box-shadow: 0 6px 30px rgba(64, 142, 224, 0.4);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    color: #333;
    background: transparent;
}

.newsletter-input::placeholder {
    color: #999;
    font-size: 0.95rem;
}

.newsletter-submit-btn {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    border: none;
    color: white;
    padding: 1rem 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 4px;
    border-radius: 50px;
    min-width: 50px;
}

.newsletter-submit-btn:hover {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(64, 142, 224, 0.5);
}

.newsletter-submit-btn:active {
    transform: scale(1.05);
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Newsletter Responsive Styles */
@media (max-width: 991.98px) {
    .newsletter-modern {
        padding: 3rem 0 !important;
    }
    
    .newsletter-image {
        height: 350px;
    }
    
    .newsletter-content-wrapper {
        padding: 2.5rem 2rem;
        margin-top: 2rem;
    }
    
    .newsletter-heading {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .newsletter-modern {
        padding: 2rem 0 !important;
    }
    
    .newsletter-image {
        height: 280px;
    }
    
    .newsletter-content-wrapper {
        padding: 2rem 1.5rem;
        margin-top: 1.5rem;
    }
    
    .newsletter-heading {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .newsletter-brand {
        letter-spacing: 2px;
    }
    
    .newsletter-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem !important;
    }
    
    .newsletter-input {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .newsletter-submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-width: 45px;
    }
    
    .newsletter-input-group {
        border-radius: 40px;
    }
}

/* About Page Newsletter Section */
.newsletter-about-section {
    background: linear-gradient(90deg, rgba(0, 29, 100, 0.85) 0%, rgba(24, 117, 190, 0.8) 30%, rgba(64, 142, 224, 0.75) 70%, rgba(136, 191, 248, 0.7) 100%),
                url('../img/3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

.newsletter-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

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

.newsletter-about-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.newsletter-about-brand {
    display: inline-block;
    color: rgba(179, 217, 255, 0.9);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 
        0 2px 10px rgba(179, 217, 255, 0.3),
        0 0 20px rgba(179, 217, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    padding-bottom: 0.5rem;
}

.newsletter-about-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(179, 217, 255, 0.5), transparent);
}

.newsletter-about-form-wrapper {
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-about-form {
    width: 100%;
}

.newsletter-about-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.newsletter-about-input-group:focus-within {
    box-shadow: 0 6px 35px rgba(64, 142, 224, 0.4);
    transform: translateY(-2px);
    border-color: rgba(64, 142, 224, 0.3);
}

.newsletter-about-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1.25rem 1.75rem;
    font-size: 1rem;
    color: #333;
    background: transparent;
}

.newsletter-about-input::placeholder {
    color: #999;
    font-size: 0.95rem;
}

.newsletter-about-submit-btn {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    border: none;
    color: white;
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 4px;
    border-radius: 50px;
    min-width: 50px;
}

.newsletter-about-submit-btn:hover {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(64, 142, 224, 0.5);
}

.newsletter-about-submit-btn:active {
    transform: scale(1.05);
}

.newsletter-about-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Newsletter Responsive */
@media (max-width: 991.98px) {
    .newsletter-about-section {
        padding: 40px 0;
    }
    
    .newsletter-about-heading {
        font-size: clamp(2rem, 5vw, 3.5rem);
        margin-bottom: 1.25rem;
    }
    
    .newsletter-about-form-wrapper {
        max-width: 100%;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .newsletter-about-section {
        padding: 35px 0;
        background-attachment: scroll;
    }
    
    .newsletter-about-heading {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .newsletter-about-brand {
        letter-spacing: 2px;
        font-size: 0.9em;
    }
    
    .newsletter-about-input {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .newsletter-about-submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: 45px;
    }
    
    .newsletter-about-input-group {
        border-radius: 40px;
    }
    
    .newsletter-about-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
}


/*** Image Helpers ***/
.uniform-img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.hero-header .uniform-img {
    aspect-ratio: 16 / 9;
    min-height: 420px;
    object-fit: cover;
    border-radius: 15px;
}

.header-carousel .item {
    padding: 0;
}

.header-carousel img {
    width: 100%;
    height: auto;
    display: block;
}

.about-img-grid .uniform-img {
    border-radius: 0.75rem;
}

.project-item .uniform-img,
.service-item .uniform-img,
.newsletter .uniform-img {
    aspect-ratio: 16 / 9;
}

.project-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #001D64;
    overflow: hidden;
    border-radius: inherit;
    position: relative;
}

.project-frame .project-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .35s ease, filter .35s ease;
    filter: saturate(0.92) contrast(1.06);
}

.project-card:hover .project-frame .project-thumb {
    transform: scale(1.02);
    filter: saturate(1) contrast(1.02);
}

.project-link-cover {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 3;
}

.testimonial-img .uniform-img {
    aspect-ratio: 4 / 3;
}

@media (max-width: 767.98px) {
    .hero-header .uniform-img {
        min-height: 260px;
    }

    .newsletter .uniform-img {
        min-height: 220px;
    }

    .project-frame .project-thumb {
        transform: scale(1.01);
    }
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

#projectsContainer {
    max-width: 1200px;
    margin: 0 auto;
}

#projectsContainer .row {
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

#projectsContainer .col-md-4 {
    max-width: 380px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

#projectsContainer .row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 29, 100, 0.28);
    transition: transform .35s ease, box-shadow .35s ease;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0, 29, 100, 0.08), rgba(24, 117, 190, 0.2));
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px rgba(0, 29, 100, 0.35);
}

.project-card:hover::after {
    opacity: 1;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%) !important;
    color: var(--bs-white);
    border-radius: 24px;
    padding: 1.9rem 2.25rem;
    box-shadow: 0 32px 60px rgba(0, 29, 100, 0.22);
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(136, 191, 248, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.section-eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
}

.section-title {
    margin: 0.4rem 0 0;
    font-size: clamp(2.35rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #b3d9ff 50%, #88BFF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.section-count {
    display: flex;
    align-items: flex-end;
    gap: 1.1rem;
}

.count-number {
    font-size: clamp(3.6rem, 6vw, 4.6rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #b3d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.count-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    max-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.project-grid + .text-center {
    margin-top: 2.25rem !important;
}

@media (max-width: 991.98px) {
    .project-card {
        border-radius: 18px;
    }

    .section-header {
        padding: 1.5rem;
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem;
    }
}

@media (max-width: 575.98px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-count {
        align-items: center;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer.pt-5 {
    padding-top: 1rem !important;
}

.footer.pb-0 {
    padding-bottom: 0 !important;
}

.footer .container {
    padding-top: 0.75rem !important;
    padding-bottom: 0.5rem !important;
}

.footer .container.py-4 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.5rem !important;
}

.footer .row {
    margin-bottom: 0 !important;
}

.footer .row.g-5 {
    --bs-gutter-y: 0.75rem;
    --bs-gutter-x: 0.75rem;
}

.footer .col-md-6,
.footer .col-lg-3 {
    margin-bottom: 0.5rem;
}

.footer .mb-3 {
    margin-bottom: 0.35rem !important;
}

.footer .mb-4 {
    margin-bottom: 0.35rem !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(136, 191, 248, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 3px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.7);
    font-weight: normal;
    transition: .3s;
    font-size: 0.75rem;
}

.footer .btn.btn-link:hover {
    color: #b3d9ff;
    letter-spacing: 1px;
    box-shadow: none;
    transform: translateX(5px);
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 6px 0;
    font-size: 10px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    background: rgba(0, 29, 100, 0.3);
    margin-top: 0.5rem;
}

.footer .copyright a {
    color: rgba(255,255,255,.7);
    transition: all 0.3s ease;
}

.footer .copyright a:hover {
    color: #b3d9ff;
    text-shadow: 0 0 10px rgba(179, 217, 255, 0.5);
}

.footer .footer-menu a {
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255,255,255,.7);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.footer .footer-menu a:hover {
    color: #b3d9ff;
    transform: translateX(3px);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Footer Headings with Gradient Theme */
.footer h1 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    background: linear-gradient(135deg, #b3d9ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer h5 {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    background: linear-gradient(135deg, #88BFF8 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer p {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

/* Footer Logo */
.footer-logo {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

@media (max-width: 991.98px) {
    .footer-social {
        justify-content: center;
    }
}

.footer .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Footer Icons with Blue Theme */
.footer .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 0.75rem;
}

.footer .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #88BFF8;
    color: #b3d9ff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 3px 10px rgba(136, 191, 248, 0.3);
}

.footer .d-flex.pt-2 {
    padding-top: 0.3rem !important;
    margin-top: 0.3rem;
}

/* Footer Mobile Responsive */
@media (max-width: 767.98px) {
    .footer.pt-5 {
        padding-top: 0.75rem !important;
    }
    
    .footer .container {
        padding-top: 0.5rem !important;
        padding-bottom: 0.4rem !important;
    }
    
    .footer .container.py-4 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.4rem !important;
    }
    
    .footer .row.g-5 {
        --bs-gutter-y: 0.5rem;
        --bs-gutter-x: 0.5rem;
    }
    
    .footer .col-md-6,
    .footer .col-lg-3 {
        margin-bottom: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .footer .btn-outline-light {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .footer h1 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .footer h5 {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .footer p {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }
    
    .footer .btn.btn-link {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }
    
    .footer .mb-3,
    .footer .mb-4 {
        margin-bottom: 0.25rem !important;
    }
    
    .footer .d-flex.pt-2 {
        padding-top: 0.25rem !important;
        margin-top: 0.25rem;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .footer .btn-outline-primary {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
        padding: 0;
    }
    
    .footer .copyright {
        padding: 5px 0;
        font-size: 9px;
        margin-top: 0.4rem;
    }
    
    .footer .footer-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
    
    .footer .footer-menu a {
        font-size: 0.7rem;
        margin-right: 6px;
        padding-right: 6px;
    }
    
    .footer .copyright .row {
        flex-direction: column;
        text-align: center !important;
    }
    
    .footer .copyright .col-md-6 {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 575.98px) {
    .footer.pt-5 {
        padding-top: 0.6rem !important;
    }
    
    .footer .container {
        padding-top: 0.4rem !important;
        padding-bottom: 0.3rem !important;
    }
    
    .footer .row.g-5 {
        --bs-gutter-y: 0.4rem;
        --bs-gutter-x: 0.4rem;
    }
    
    .footer .col-md-6,
    .footer .col-lg-3 {
        margin-bottom: 0.6rem;
        padding: 0 0.4rem;
    }
    
    .footer-logo-img {
        height: 35px;
    }
    
    .footer .btn-outline-light {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .footer h1 {
        font-size: 0.9rem;
    }
    
    .footer h5 {
        font-size: 0.7rem;
    }
    
    .footer p {
        font-size: 0.65rem;
        line-height: 1.25;
    }
    
    .footer .btn.btn-link {
        font-size: 0.65rem;
    }
    
    .footer .copyright {
        font-size: 8px;
        padding: 4px 0;
    }
    
    .footer .footer-menu a {
        font-size: 0.65rem;
        margin-right: 4px;
        padding-right: 4px;
    }
}

/* ========== PROFESSIONAL ENHANCEMENTS & ANIMATIONS ========== */

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

/* Prevent Animation Glitches */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce Motion for Users Who Prefer It */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced Navbar with Glass Effect */
.sticky-top.bg-white {
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(179, 217, 255, 0.05) 100%) !important;
    box-shadow: 0 2px 20px rgba(64, 142, 224, 0.15);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(64, 142, 224, 0.1);
}

/* Professional Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(64, 142, 224, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 29, 100, 0.4);
    background: linear-gradient(135deg, #1875BE 0%, #001D64 100%);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline-primary {
    border: 2px solid #408EE0;
    color: #1875BE;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #408EE0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(64, 142, 224, 0.3);
}

/* Enhanced Hero Section */
.hero-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #b3d9ff 0%, #ffffff 50%, #88BFF8 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* About Hero Section Responsive */
@media (max-width: 991.98px) {
    .about-hero-section {
        padding: 60px 0 50px;
        margin-top: 0;
    }
    
    .about-hero-content {
        padding: 1.25rem 0;
    }
    
    .about-hero-heading {
        font-size: clamp(2rem, 5vw, 3.5rem);
        margin-bottom: 0.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .about-hero-section {
        padding: 70px 0 50px;
        background-attachment: scroll;
        margin-top: 0;
        min-height: auto;
    }
    
    .about-hero-content {
        padding: 1.5rem 0;
        min-height: auto;
    }
    
    .about-hero-heading {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        gap: 0.3rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .about-hero-title {
        font-size: 0.9em;
    }
    
    .about-hero-brand {
        font-size: 0.85em;
        letter-spacing: 2px;
    }
    
    .about-hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1px;
        margin-top: 0.5rem;
        padding: 0 1rem;
    }
    
    .navbar .navbar-nav .nav-link {
        margin-left: 15px;
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .about-hero-section {
        padding: 60px 0 40px;
        margin-top: 0;
    }
    
    .about-hero-content {
        padding: 1.25rem 0;
    }
    
    .about-hero-heading {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 0.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 0.8rem;
        padding: 0 0.75rem;
    }
}

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

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

.hero-header .display-1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-header .display-1 span.text-primary {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Animation - Optimized */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.float-animation {
    animation: float 8s ease-in-out infinite;
    will-change: transform;
}

/* Fade In Up Animation - Optimized */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
    will-change: opacity, transform;
}

/* Pulse Animation - Optimized */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.pulse-animation {
    animation: pulse 3s ease-in-out infinite;
    will-change: transform;
}

/* Enhanced Service Cards - Optimized */
.service-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.service-item::before {
    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.4s ease;
    z-index: 1;
    pointer-events: none;
}

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

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(64, 142, 224, 0.2);
}

/* Enhanced Team Cards - Optimized */
.team-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(64, 142, 224, 0.1);
    will-change: transform, box-shadow;
}

.team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(64, 142, 224, 0.3);
}

.team-item img {
    transition: transform 0.4s ease;
    will-change: transform;
}

.team-item:hover img {
    transform: scale(1.08);
}

/* Enhanced Project Cards - Optimized */
.project-item {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 30px rgba(64, 142, 224, 0.12);
    cursor: pointer;
    background: white;
    border: 1px solid rgba(64, 142, 224, 0.1);
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 142, 224, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.project-item:hover::before {
    opacity: 1;
}

.project-item:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 20px 50px rgba(64, 142, 224, 0.25);
    border-color: #408EE0;
}

.project-item img {
    transition: transform 0.3s ease;
    content-visibility: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.project-item:hover img {
    transform: scale(1.05) translateZ(0);
}

.project-overlay {
    background: linear-gradient(to top, rgba(0, 29, 100, 0.85) 0%, rgba(24, 117, 190, 0.6) 50%, transparent 100%);
    transition: background 0.3s ease;
    z-index: 3;
    position: relative;
    backface-visibility: hidden;
    transform: translateZ(0);
    padding: 1rem 1rem !important;
}

.project-overlay h4 {
    margin-bottom: 0.5rem !important;
    font-size: 1rem;
}

.project-overlay small {
    font-size: 0.75rem;
}

.project-item:hover .project-overlay {
    background: linear-gradient(to top, rgba(0, 29, 100, 0.98) 0%, rgba(24, 117, 190, 0.85) 50%, rgba(64, 142, 224, 0.75) 100%);
}

.project-item img {
    position: relative;
    z-index: 0;
}

/* Website Preview Modal - Redesigned */
.website-preview-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

.website-preview-modal.active {
    display: block;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.preview-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 29, 100, 0.9) 100%);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.preview-modal-content {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
    z-index: 1;
    animation: contentSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Preview Modal Header - Redesigned */
.preview-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: linear-gradient(135deg, rgba(0, 29, 100, 0.98) 0%, rgba(24, 117, 190, 0.96) 50%, rgba(64, 142, 224, 0.94) 100%);
    color: white;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-height: 70px;
}

.preview-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.preview-header-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.preview-header-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05) rotate(5deg);
}

.preview-header-icon i {
    font-size: 1.3rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.preview-header-info {
    flex: 1;
    min-width: 0;
}

.preview-modal-header h3 {
    margin: 0 0 4px 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.preview-header-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
    margin-top: 2px;
}

.preview-modal-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

/* Preview View Toggle - Redesigned */
.preview-view-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 14px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-view-toggle {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.btn-view-toggle .btn-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.btn-view-toggle:hover .btn-tooltip {
    opacity: 1;
}

.btn-view-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-view-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.btn-view-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-view-toggle.active {
    background: rgba(255, 255, 255, 0.4);
    color: white;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(1);
}

.btn-view-toggle.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.btn-view-toggle i {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn-view-toggle:hover i {
    transform: scale(1.15) rotate(5deg);
}

.btn-view-toggle.active i {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* Visit Site Button - Redesigned */
.btn-preview-action {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-preview-action::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.6s ease;
}

.btn-preview-action:hover::before {
    left: 100%;
}

.btn-preview-action:hover {
    background: rgba(255, 255, 255, 0.45);
    color: white;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), inset 0 2px 6px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-preview-action:active {
    transform: translateY(-1px) scale(0.97);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-preview-action i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn-preview-action:hover i {
    transform: translateX(3px) scale(1.15) rotate(10deg);
}

.btn-preview-action span {
    position: relative;
    z-index: 1;
}

/* Close Button - Redesigned */
.btn-close-preview {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.35rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-close-preview::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 77, 77, 0.4) 0%, rgba(255, 77, 77, 0.2) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-close-preview:hover::before {
    width: 140%;
    height: 140%;
}

.btn-close-preview:hover {
    background: rgba(255, 77, 77, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 28px rgba(255, 77, 77, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.3);
}

.btn-close-preview:active {
    transform: rotate(90deg) scale(0.9);
    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.4);
}

.btn-close-preview i {
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btn-close-preview:hover i {
    transform: scale(1.2) rotate(180deg);
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
}

.preview-modal-body {
    flex: 1;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 70px);
    overflow: hidden;
    background: transparent;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.preview-iframe-wrapper.mobile-view {
    max-width: 375px;
    width: 100%;
    height: 667px;
    margin: 0 auto;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 8px solid #1a1a1a;
    background: #1a1a1a;
    margin-top: 0;
    align-self: center;
}

.preview-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

.preview-iframe-wrapper.mobile-view .preview-iframe {
    position: relative;
    width: 100%;
    height: 667px;
    border-radius: 12px;
}

/* Loading State - Redesigned */
.preview-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
}

.loading-content {
    text-align: center;
    padding: 40px;
}

.spinner-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.preview-loading .spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(64, 142, 224, 0.1);
    border-top-color: #408EE0;
    border-right-color: #408EE0;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    box-shadow: 0 0 30px rgba(64, 142, 224, 0.3);
    position: absolute;
    top: 0;
    left: 0;
}

.spinner-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100px;
    height: 100px;
    border: 4px solid rgba(64, 142, 224, 0.05);
    border-top-color: rgba(64, 142, 224, 0.3);
    border-radius: 50%;
    animation: spin 1.2s linear infinite reverse;
}

.loading-text {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #408EE0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(64, 142, 224, 0.2);
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(64, 142, 224, 0.1);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #408EE0 0%, #1875BE 50%, #408EE0 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0%;
    animation: progressMove 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(64, 142, 224, 0.5);
}

@keyframes progressMove {
    0% {
        width: 0%;
        background-position: 0% 0%;
    }
    50% {
        width: 70%;
        background-position: 100% 0%;
    }
    100% {
        width: 100%;
        background-position: 0% 0%;
    }
}

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

/* Responsive Styles for Preview Modal */
@media (max-width: 768px) {
    .preview-modal-body {
        padding-top: 0;
        align-items: center;
        justify-content: center;
    }
    
    .preview-modal-header {
        padding: 12px 16px;
        min-height: 60px;
        flex-wrap: wrap;
    }
    
    .preview-header-left {
        gap: 10px;
        margin-bottom: 8px;
        width: 100%;
    }
    
    .preview-header-icon {
        width: 38px;
        height: 38px;
    }
    
    .preview-header-icon i {
        font-size: 1.1rem;
    }
    
    .preview-modal-header h3 {
        font-size: 1.2rem;
        max-width: 200px;
    }
    
    .preview-header-subtitle {
        font-size: 0.75rem;
        max-width: 200px;
    }
    
    .preview-modal-actions {
        gap: 8px;
        width: 100%;
        justify-content: flex-end;
    }
    
    .preview-view-toggle {
        gap: 3px;
        padding: 3px;
    }
    
    .btn-view-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .btn-view-toggle .btn-tooltip {
        display: none;
    }
    
    .btn-preview-action {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .btn-preview-action span {
        display: none;
    }
    
    .btn-close-preview {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .loading-content {
        padding: 30px 20px;
    }
    
    .spinner-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .preview-loading .spinner {
        width: 60px;
        height: 60px;
        border-width: 5px;
    }
    
    .spinner-ring {
        width: 80px;
        height: 80px;
        top: -10px;
        left: -10px;
    }
    
    .loading-text {
        font-size: 0.95rem;
    }
    
    .loading-progress {
        width: 150px;
    }
    
    .preview-iframe-wrapper.mobile-view {
        max-width: 320px;
        height: 568px;
        width: 90%;
    }
    
    .preview-iframe-wrapper.mobile-view .preview-iframe {
        height: 568px;
    }
}

@media (max-width: 575.98px) {
    .preview-modal-body {
        padding-top: 0;
        align-items: center;
        justify-content: center;
    }
    
    .preview-modal-header {
        padding: 10px 12px;
        min-height: 55px;
    }
    
    .preview-header-icon {
        width: 35px;
        height: 35px;
    }
    
    .preview-header-icon i {
        font-size: 1rem;
    }
    
    .preview-modal-header h3 {
        font-size: 1.1rem;
        max-width: 150px;
    }
    
    .preview-header-subtitle {
        font-size: 0.7rem;
        max-width: 150px;
    }
    
    .btn-view-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .btn-preview-action {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .btn-close-preview {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .preview-iframe-wrapper.mobile-view {
        max-width: 300px;
        height: 533px;
        width: 85%;
    }
    
    .preview-iframe-wrapper.mobile-view .preview-iframe {
        height: 533px;
    }
}

/* Smooth iframe loading animation */
.preview-iframe {
    transition: opacity 0.4s ease, transform 0.3s ease;
}

.preview-iframe[src=""] {
    opacity: 0;
    transform: scale(0.98);
}

.preview-iframe.loaded {
    opacity: 1;
    transform: scale(1);
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 400px;
    width: 100%;
}

.toast {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-left: 4px solid #408EE0;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: auto;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #408EE0 0%, #1875BE 100%);
    border-radius: 12px 0 0 12px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    animation: toastSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.toast-icon i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.toast-success .toast-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.toast-error .toast-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.toast-warning .toast-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.toast-info .toast-icon {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 100%);
    box-shadow: 0 4px 12px rgba(64, 142, 224, 0.3);
}

.toast-success {
    border-left-color: #10b981;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-warning {
    border-left-color: #f59e0b;
}

.toast-info {
    border-left-color: #408EE0;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.toast-message {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    font-size: 1.1rem;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
    transform: scale(1.1);
}

.toast-close:active {
    transform: scale(0.95);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #408EE0 0%, #1875BE 100%);
    border-radius: 0 0 12px 12px;
    animation: toastProgress linear forwards;
}

.toast-success .toast-progress {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.toast-error .toast-progress {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.toast-warning .toast-progress {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

@keyframes toastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Responsive Toast */
@media (max-width: 768px) {
    .toast-container {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    
    .toast {
        padding: 14px 16px;
    }
    
    .toast-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .toast-title {
        font-size: 0.95rem;
    }
    
    .toast-message {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .toast-container {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    
    .toast {
        padding: 12px 14px;
        gap: 12px;
    }
    
    .toast-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .toast-title {
        font-size: 0.9rem;
    }
    
    .toast-message {
        font-size: 0.75rem;
    }
}

/* Preview Button on Project Cards */
.project-preview-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(64, 142, 224, 0.9);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(64, 142, 224, 0.3);
    opacity: 0;
    transform: scale(0.8);
}

.project-item:hover .project-preview-btn {
    opacity: 1;
    transform: scale(1);
}

.project-preview-btn:hover {
    background: #1875BE;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(64, 142, 224, 0.5);
}

/* Hide preview button on mobile - direct visit instead */
@media (max-width: 991.98px) {
    .project-preview-btn {
        display: none !important;
    }
    
    .project-item {
        cursor: pointer;
        touch-action: manipulation;
    }
    
    .project-overlay {
        pointer-events: auto !important;
        z-index: 5;
        cursor: pointer !important;
    }
    
    /* Better mobile touch interaction */
    .project-item:active {
        transform: translateY(-4px) scale(0.98);
        box-shadow: 0 12px 35px rgba(64, 142, 224, 0.3);
    }
    
    /* Smooth touch scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* Plans Filter Section */
.plans-filter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(64, 142, 224, 0.3) transparent;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.plans-filter-wrapper::-webkit-scrollbar {
    height: 4px;
}

.plans-filter-wrapper::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2px;
}

.plans-filter-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(64, 142, 224, 0.5) 0%, rgba(24, 117, 190, 0.5) 100%);
    border-radius: 2px;
}

.plans-filter-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(64, 142, 224, 0.7) 0%, rgba(24, 117, 190, 0.7) 100%);
}

.plan-filter-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border: 2px solid rgba(64, 142, 224, 0.2);
    color: #408EE0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(64, 142, 224, 0.1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.plan-filter-btn:hover::before {
    left: 100%;
}

.plan-filter-btn:hover {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 100%);
    color: white;
    border-color: #408EE0;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(64, 142, 224, 0.3);
}

.plan-filter-btn.active {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 100%);
    color: white;
    border-color: #408EE0;
    box-shadow: 0 6px 25px rgba(64, 142, 224, 0.4);
    transform: translateY(-2px);
}

.plan-filter-btn i {
    font-size: 0.75rem;
    margin-right: 4px;
}

.project-filter-item {
    transition: opacity 0.15s ease;
    opacity: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: opacity;
}

.project-filter-item[style*="display: none"] {
    display: none !important;
}

@media (max-width: 768px) {
    .preview-modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .preview-modal-header {
        padding: 12px 15px;
    }
    
    .preview-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .preview-modal-actions {
        gap: 8px;
    }
    
    .preview-view-toggle {
        display: none !important;
    }
    
    .btn-view-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .btn-preview-action {
        padding: 8px 14px;
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .btn-close-preview {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .preview-iframe-wrapper.mobile-view {
        max-width: 320px;
        height: 568px;
        border-radius: 15px;
        border: 6px solid #1a1a1a;
    }
    
    .plans-filter-wrapper {
        gap: 6px;
        margin-bottom: 1.25rem;
        justify-content: flex-start;
        padding: 5px 10px;
    }
    
    .plan-filter-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
    
    .plan-filter-btn i {
        font-size: 0.7rem;
        margin-right: 3px !important;
    }
}

@media (max-width: 575.98px) {
    .plans-filter-wrapper {
        gap: 5px;
        margin-bottom: 1rem;
        padding: 5px 8px;
    }
    
    .plan-filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .plan-filter-btn i {
        font-size: 0.65rem;
        margin-right: 3px !important;
    }
}

/* Enhanced Form Elements */
.form-control {
    border: 2px solid rgba(64, 142, 224, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 12px 20px;
}

.form-control:focus {
    border-color: #408EE0;
    box-shadow: 0 0 0 0.2rem rgba(64, 142, 224, 0.15);
    transform: translateY(-2px);
}

.form-floating > label {
    color: #1875BE;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #1875BE;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Section Headers Enhancement */
h1 span.text-primary {
    position: relative;
    display: inline-block;
}

h1 span.text-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #408EE0, #1875BE, transparent);
    animation: underlineExpand 0.6s ease-out;
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Enhanced Feature Icons */
.fa-5x {
    transition: all 0.4s ease;
    display: inline-block;
}

.wow.fadeIn:hover .fa-5x {
    transform: scale(1.1) rotate(5deg);
    color: #408EE0;
}

/* Gradient Background Sections */
.gradient-bg {
    background: linear-gradient(135deg, #b3d9ff 0%, #ffffff 100%);
    position: relative;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(64,142,224,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.gradient-bg > * {
    position: relative;
    z-index: 1;
}

/* Enhanced Testimonial Cards - Optimized */
.testimonial-item {
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 142, 224, 0.15);
}

/* Loading Animation Enhancement */
.spinner-grow {
    animation: spinner-grow 1s ease-in-out infinite;
}

@keyframes spinner-grow {
    0%, 100% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Back to Top Button Enhancement */
.back-to-top {
    border-radius: 50%;
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%) !important;
    box-shadow: 0 4px 15px rgba(64, 142, 224, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(64, 142, 224, 0.5);
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%) !important;
}

/* Hero Stats Card */
.hero-stats {
    transition: all 0.3s ease;
    border: 2px solid rgba(64, 142, 224, 0.1);
}

.hero-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 142, 224, 0.2) !important;
    border-color: #408EE0;
}

/* Enhanced Newsletter Section */
.newsletter {
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(136, 191, 248, 0.12) 0%, rgba(64, 142, 224, 0.08) 50%, transparent 70%);
    animation: rotate 25s linear infinite;
    will-change: transform;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Professional Card Hover Effects - Optimized */
.professional-card {
    background: linear-gradient(135deg, #ffffff 0%, rgba(179, 217, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(64, 142, 224, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(64, 142, 224, 0.1);
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.professional-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 29, 100, 0.05) 0%, rgba(64, 142, 224, 0.02) 100%);
    transition: left 0.4s ease;
    z-index: 0;
}

.professional-card:hover::before {
    left: 100%;
}

.professional-card > * {
    position: relative;
    z-index: 1;
}

.professional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(64, 142, 224, 0.2);
    border-color: #408EE0;
    background: linear-gradient(135deg, #ffffff 0%, rgba(179, 217, 255, 0.1) 100%);
}

/* Enhanced Image Effects - Optimized */
.img-hover-effect {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    will-change: transform;
}

.img-hover-effect:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(64, 142, 224, 0.3);
}

/* Stats Counter Animation */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

/* Enhanced Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #408EE0 !important;
    transform: translateX(5px);
}

/* Professional Section Spacing */
.section-padding {
    padding: 60px 0;
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
}

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

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

/* Enhanced Typography */
.display-1 {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Image Loading Optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Scroll Reveal Animation - Optimized */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Contact Form */
.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(179, 217, 255, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(64, 142, 224, 0.1);
    transition: all 0.4s ease;
    border: 2px solid rgba(64, 142, 224, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(136, 191, 248, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.contact-form-wrapper > * {
    position: relative;
    z-index: 1;
}

.contact-form-wrapper:hover {
    box-shadow: 0 15px 50px rgba(64, 142, 224, 0.2);
    border-color: #408EE0;
    background: linear-gradient(135deg, rgba(179, 217, 255, 0.2) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Professional Grid Layout */
.professional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Enhanced Icon Animations - Optimized */
.icon-wrapper {
    display: inline-block;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(179, 217, 255, 0.15) 0%, rgba(136, 191, 248, 0.1) 50%, rgba(64, 142, 224, 0.05) 100%);
    transition: all 0.3s ease;
    will-change: transform;
    border: 1px solid rgba(64, 142, 224, 0.1);
}

.icon-wrapper:hover {
    transform: rotate(3deg) scale(1.05);
    background: linear-gradient(135deg, rgba(0, 29, 100, 0.2) 0%, rgba(24, 117, 190, 0.15) 50%, rgba(64, 142, 224, 0.1) 100%);
    border-color: #408EE0;
    box-shadow: 0 8px 25px rgba(64, 142, 224, 0.2);
}

/* All icons with text-primary get gradient */
.fa.text-primary,
i.text-primary,
.fa-3x.text-primary,
.fa-5x.text-primary {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badges and labels with gradient */
.badge.bg-primary,
.label.bg-primary {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%) !important;
}

/* All links with primary color */
a.text-primary,
a.text-primary:hover {
    background: linear-gradient(135deg, #408EE0 0%, #1875BE 50%, #001D64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

/* Breadcrumb active items */
.breadcrumb-item.active {
    color: #408EE0;
}

/* Dropdown menu items */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:hover {
    background: linear-gradient(135deg, #001D64 0%, #1875BE 50%, #408EE0 100%) !important;
    color: white;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .professional-card {
        padding: 20px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .display-1 {
        font-size: 2.5rem;
    }
}