/* ============================================
   MODERN STYLE.CSS - STEKNET SOLUTIONS
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS VARIABLES - COLOR SCHEME
   ============================================ */
:root {
    /* Primary Colors */
    --primary-blue: #007bff;
    --primary-blue-dark: #0056b3;
    --primary-blue-darker: #004085;
    --primary-blue-darkest: #1a1a2e;
    --primary-blue-light: #00BFFF;

    /* Accent Colors */
    --aqua: #00FFFF;
    --aqua-light: #E0F7FA;
    --aqua-hover: #00d4ff;

    /* Secondary Colors */
    --lavender: #E6E6FA;
    --lavender-dark: #CCCCFF;

    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #888888;
    --gray-bg: #f8f9fa;

    /* Color with Opacity - Primary Blue */
    --primary-blue-05: rgba(0, 123, 255, 0.05);
    --primary-blue-10: rgba(0, 123, 255, 0.1);
    --primary-blue-15: rgba(0, 123, 255, 0.15);
    --primary-blue-20: rgba(0, 123, 255, 0.2);
    --primary-blue-30: rgba(0, 123, 255, 0.3);
    --primary-blue-40: rgba(0, 123, 255, 0.4);
    --primary-blue-50: rgba(0, 123, 255, 0.5);
    --primary-blue-80: rgba(0, 123, 255, 0.8);

    /* Color with Opacity - Aqua */
    --aqua-05: rgba(0, 191, 255, 0.05);
    --aqua-10: rgba(0, 191, 255, 0.1);
    --aqua-15: rgba(0, 191, 255, 0.15);
    --aqua-20: rgba(0, 191, 255, 0.2);
    --aqua-50: rgba(0, 191, 255, 0.5);
    --aqua-60: rgba(0, 191, 255, 0.6);

    /* Color with Opacity - Black/White */
    --black-05: rgba(0, 0, 0, 0.05);
    --black-08: rgba(0, 0, 0, 0.08);
    --black-10: rgba(0, 0, 0, 0.1);
    --black-15: rgba(0, 0, 0, 0.15);
    --black-20: rgba(0, 0, 0, 0.2);
    --black-50: rgba(0, 0, 0, 0.5);
    --black-70: rgba(0, 0, 0, 0.7);

    --white-10: rgba(255, 255, 255, 0.1);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-80: rgba(255, 255, 255, 0.8);
    --white-95: rgba(255, 255, 255, 0.95);
    --white-98: rgba(255, 255, 255, 0.98);
    --white-99: rgba(255, 255, 255, 0.99);

    /* Shadows */
    --shadow-sm: 0 2px 8px var(--black-10);
    --shadow-md: 0 4px 16px var(--black-15);
    --shadow-lg: 0 8px 32px var(--black-20);
    --shadow-navbar: 0 2px 10px var(--black-08);
    --shadow-navbar-scrolled: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 4px 12px var(--primary-blue-30);
    --shadow-primary-hover: 0 12px 24px var(--primary-blue-40);
    --shadow-primary-active: 0 2px 6px var(--primary-blue-20);
    --shadow-back-top: 0 8px 20px var(--primary-blue-40);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVBAR - MODERN STICKY HEADER
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    background-color: transparent;
    box-shadow: var(--shadow-navbar);
    width: 100%;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(50px);
}

.navbar.scrolled {
    background-color: transparent;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    position: relative;
    padding: 0.5rem;
    border-radius: 10px;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0;
    transition: opacity var(--transition-normal) ease;
    z-index: -1;
}

.navbar-brand:hover::before {
    opacity: 1;
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
    margin-right: 1rem;
    margin-left: 5rem;
    transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

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

.navbar-brand:hover .logo {
    transform: scale(1.08) rotate(2deg);
}

.navbar-nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--black) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    margin: 0 0.3rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
}

/* Background fill effect on hover */
.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--aqua));
    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);
    z-index: -1;
}

.nav-link:hover::before {
    width: 120%;
    height: 120%;
    border-radius: 30px;
}

/* Bottom border accent removed - no longer needed */

/* Hover state */
.nav-link:hover {
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.nav-link:active {
    transform: translateY(0);
    box-shadow: var(--shadow-primary-active);
}

/* Dropdown Toggle Arrow - positioned inline with text */
.nav-link.dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 0.35em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.3s ease;
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none;
    border-radius: 0;
}

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

/* Ensure dropdown arrow color matches text */
.nav-link.dropdown-toggle::after {
    border-top-color: currentColor;
}

.nav-link.dropdown-toggle:hover::after {
    border-top-color: var(--white);
}

/* Active Nav Link */
.nav-link.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--aqua));
    color: var(--white) !important;
    box-shadow: var(--shadow-primary);
}

.nav-link.active::before {
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

/* Bottom border removed for active state as well */

.nav-link.active.dropdown-toggle::after {
    transform: none;
}

/* Dropdown Menu */
.navbar-nav .dropdown-menu {
    background-color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px var(--black-15);
    padding: 0.75rem 0;
    margin-top: 0.75rem;
    animation: slideDown var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--primary-blue);
    min-width: 220px;
    overflow: visible;
    /* Allow submenu to extend */
    position: relative;
}

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

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

.navbar-nav .dropdown-menu .dropdown-item {
    color: var(--gray-dark);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 6px;
    margin: 0.2rem 0.5rem;
    overflow: hidden;
}

.navbar-nav .dropdown-menu .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--aqua));
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 4px 4px 0;
}

/* Shimmer effect - only for non-submenu items */
.navbar-nav .dropdown-menu .dropdown-item:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--aqua-10), transparent);
    transition: left var(--transition-slow) ease;
    z-index: -1;
}

.navbar-nav .dropdown-menu .dropdown-item:not(.dropdown-toggle):hover::after {
    left: 100%;
}

.navbar-nav .dropdown-menu .dropdown-item:hover::before {
    transform: scaleY(1);
}

/* Removed - handled above with :not selector */

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(90deg, var(--primary-blue-10), var(--aqua-05));
    color: var(--primary-blue);
    padding-left: 2rem;
    transform: translateX(5px);
    box-shadow: 0 2px 8px var(--primary-blue-15);
}

/* ============================================
   NESTED DROPDOWN (SUBMENU) STYLES
   ============================================ */
.dropdown-submenu {
    position: relative;
}

/* Submenu item with right arrow indicator */
.dropdown-submenu>.dropdown-item {
    padding-right: 2.2rem !important;
    position: relative;
    overflow: visible;
    margin-right: 0.3rem;
    /* Add margin to prevent arrow cutoff */
}

/* Right arrow for submenu items - using CSS triangle */
.dropdown-submenu>.dropdown-item.dropdown-toggle::after {
    content: "";
    display: inline-block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 0.3em solid currentColor;
    border-top: 0.25em solid transparent;
    border-bottom: 0.25em solid transparent;
    border-right: 0;
    transition: border-left-color 0.3s ease, transform 0.3s ease;
    margin-left: 0;
    vertical-align: 0;
    z-index: 1;
}

.dropdown-submenu:hover>.dropdown-item.dropdown-toggle::after {
    transform: translateY(-50%) translateX(1px);
    right: 1rem;
    border-left-color: var(--primary-blue);
}

/* Submenu dropdown menu - positioned to the right */
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: calc(100% + 0.25rem);
    margin-top: 0;
    margin-left: 0;
    border-top: 3px solid var(--aqua);
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    z-index: 1001;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-10px) scale(0.95);
    }

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

/* Show submenu on hover */
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

/* Enhanced hover effect for submenu items */
.dropdown-submenu>.dropdown-item:hover {
    background: linear-gradient(90deg, var(--primary-blue-15), var(--aqua-10));
    color: var(--primary-blue);
    padding-left: 2rem;
    transform: translateX(2px);
    box-shadow: 0 2px 8px var(--primary-blue-20);
    padding-right: 2.2rem !important;
    /* Keep arrow space */
    margin-right: 0.3rem;
    /* Maintain margin */
}

/* Submenu items styling */
.dropdown-submenu .dropdown-menu .dropdown-item {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
    position: relative;
}

.dropdown-submenu .dropdown-menu .dropdown-item::before {
    width: 3px;
    background: linear-gradient(180deg, var(--aqua), var(--primary-blue));
}

.dropdown-submenu .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(90deg, var(--aqua-10), var(--primary-blue-05));
    color: var(--primary-blue);
    padding-left: 2rem;
    transform: translateX(0px);
}

/* Prevent submenu from closing when hovering over it */
.dropdown-submenu:hover>.dropdown-item {
    background: linear-gradient(90deg, var(--primary-blue-10), var(--aqua-05));
}

/* Ensure submenu doesn't conflict with regular dropdown items */
.dropdown-item.dropdown-toggle {
    padding-right: 2.5rem !important;
}

/* Mobile responsiveness for submenu */
@media (max-width: 992px) {
    .dropdown-submenu>.dropdown-menu {
        position: static !important;
        left: auto !important;
        margin-left: 1rem;
        margin-top: 0.5rem;
        box-shadow: inset 0 2px 4px var(--black-10);
        border-top: 2px solid var(--aqua);
        display: none;
    }

    .dropdown-submenu>.dropdown-item::after {
        transform: translateY(-50%) rotate(-90deg);
    }

    .dropdown-submenu:hover>.dropdown-item::after,
    .dropdown-submenu.show>.dropdown-item::after {
        transform: translateY(-50%) rotate(-90deg) translateX(3px);
    }

    .dropdown-submenu.show>.dropdown-menu {
        display: block !important;
    }
}

/* Touch device support */
@media (hover: none) and (pointer: coarse) {
    .dropdown-submenu>.dropdown-item {
        cursor: pointer;
    }

    .dropdown-submenu>.dropdown-item:active+.dropdown-menu,
    .dropdown-submenu.active>.dropdown-menu {
        display: block;
    }
}

/* ============================================
   HERO SECTION - MODERN JUMBOTRON
   ============================================ */
.jumbotron {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 180px 0;
    margin-bottom: 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jumbotron::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue-80), var(--black-70));
    z-index: 1;
}

.jumbotron {
    transition: background-image 1s ease-in-out;
}

/* Hero Background Images - Multiple background layers for smooth transitions */
.jumbotron {
    background-image: url('../images/ai2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* ============================================
   PAGE-SPECIFIC HERO BACKGROUNDS
   ============================================ */

/* About Page - Tech/Coding Theme */
.hero-about {
    background-image: url('../images/ai5.jpeg') !important;
}

/* Services Page - Cloud/Tech Connectivity */
.hero-services {
    background-image: url('../images/cloudss.jpeg') !important;
}

/* Contact Page - Clean Professional Blue */
.hero-contact {
    background-image: url('../images/clouds.jpeg') !important;
}

/* Team Page - Office/Teamwork Environment */
.hero-team {
    background-image: url('../images/it2.jpeg') !important;
}

/* Careers Page - Professional Work Environment */
.hero-careers {
    background-image: url('../images/itsnew6.jpeg') !important;
}

/* Blog Page - Tech/Digital Theme */
.hero-blog {
    background-image: url('../images/ai5.jpeg') !important;
}

/* Industry Pages */
.hero-industry {
    background-image: url('../images/cloudss.jpeg') !important;
}

.hero-healthcare {
    background-image: url('../images/healthcare.jpg') !important;
}

.hero-finance {
    background-image: url('../images/banking.jpg') !important;
}

.hero-retail {
    background-image: url('../images/retail.jpg') !important;
}

.hero-manufacturing {
    background-image: url('../images/manufacturing.jpg') !important;
}

.hero-telecom {
    background-image: url('../images/telecom.jpg') !important;
}

.hero-government {
    background-image: url('../images/government.jpg') !important;
}

/* Service Sub-Pages */
.hero-strategy {
    background-image: url('../images/saas.jpg') !important;
}

.hero-analytics {
    background-image: url('../images/analytics2.jpeg') !important;
}

.hero-cloud {
    background-image: url('../images/clouds.jpeg') !important;
}

.hero-container {
    background-image: url('../images/kubernetes.png') !important;
}

.hero-enterprise {
    background-image: url('../images/saas.jpg') !important;
}

.hero-devops {
    background-image: url('../images/devops2.jpg') !important;
}

.hero-information {
    background-image: url('../images/cloudss.jpeg') !important;
}

.hero-legacy {
    background-image: url('../images/car-new.jpeg') !important;
}

.hero-workforce {
    background-image: url('../images/it4c.jpg') !important;
}

.hero-ui-designs {
    background-image: url('../images/ai5.jpeg') !important;
}

.jumbotron-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.5s ease;
}

.jumbotron h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    text-shadow: 2px 4px 8px var(--black-50);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.jumbotron h1 .large-s {
    font-size: 1.3em;
    background: linear-gradient(135deg, var(--aqua), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--aqua-50);
    }

    to {
        text-shadow: 0 0 30px var(--primary-blue-80), 0 0 40px var(--aqua-60);
    }
}

.jumbotron p {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    margin-top: 1.5rem;
    text-shadow: 1px 2px 4px var(--black-50);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ============================================
   BUTTONS - MODERN STYLES
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--black));
    border: none;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    transition: all var(--transition-normal);
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--white-20);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-primary-hover);
    color: var(--white);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

/* ============================================
   SECTIONS - MODERN LAYOUT
   ============================================ */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

/* ============================================
   CARDS - MODERN DESIGN
   ============================================ */
.service-card,
.team-card,
.job-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before,
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--aqua-10), transparent);
    transition: left var(--transition-slow);
}

.service-card:hover::before,
.team-card:hover::before {
    left: 100%;
}

.service-card:hover,
.team-card:hover,
.job-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-card .underline {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--aqua), var(--lavender));
    transition: width var(--transition-normal);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.service-card:hover .underline {
    width: 100%;
}





/* ============================================
   ANIMATIONS - SCROLL TRIGGERED
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.scale-in {
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
}

/* Intersection Observer Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: Show content after page load if JS animation hasn't triggered */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.text-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-bg) 100%);
}

.text-content {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 20px;
}

.text-section p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-bg) 100%);
}

.service-card {
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card img {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    transition: transform var(--transition-normal);
}

.service-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

.service-card h2 {
    font-size: 1.5rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    color: var(--gray-medium);
    line-height: 1.7;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-bg) 100%);
}

.team-card {
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--white) 0%, #f8f9ff 100%);
    padding: 2.5rem 2rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--aqua), #667eea);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
}

.team-card:hover::before {
    transform: scaleX(1);
}

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

.team-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.team-card:hover img {
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
    border-color: var(--primary-blue);
}

.team-card h3 {
    font-size: 1.4rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.team-card:hover h3 {
    color: var(--primary-blue);
}

.team-card p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.team-card .social-icons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.team-card .social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
    color: var(--gray-medium);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.team-card .social-icons a:hover {
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    padding: 80px 0;
    background: var(--white);
}

.blog-post {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    margin-bottom: 2rem;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    flex: 1;
    overflow: hidden;
    max-width: 400px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-post:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    flex: 2;
    padding: 2rem;
}

.blog-title {
    font-size: 1.8rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.read-more-btn:hover {
    background: var(--aqua);
    transform: translateX(5px);
    color: var(--white);
}

/* ============================================
   CAREERS SECTION
   ============================================ */
.careers-section {
    padding: 80px 0;
    background: var(--lavender);
}

.job-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 2rem;
    margin-bottom: 0;
    cursor: pointer;
    position: relative;
    background: linear-gradient(145deg, var(--white) 0%, #f8f9ff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-blue), var(--aqua));
    transition: height 0.4s ease;
    border-radius: 16px 0 0 16px;
}

.job-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 123, 255, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.job-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 123, 255, 0.2);
}

.job-card:hover::before {
    height: 100%;
}

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

.job-card h4 {
    font-size: 1.3rem;
    color: var(--gray-dark);
    font-weight: 700;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.job-card:hover h4 {
    color: var(--primary-blue);
}

.job-card p {
    color: var(--gray-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

.job-card ul {
    padding-left: 1.2rem;
    margin-bottom: 1.25rem;
}

.job-card ul li {
    margin-bottom: 0.4rem;
    position: relative;
    color: #6c757d;
}

.job-card ul li::marker {
    color: var(--primary-blue);
}

.job-card .badge {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.job-card .text-muted {
    font-size: 0.9rem;
}

.job-card .text-muted i {
    color: var(--primary-blue);
}

.job-card .btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.job-card .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), #0056b3);
    transition: left 0.3s ease;
    z-index: -1;
}

.job-card .btn-outline-primary:hover {
    color: var(--white);
    border-color: var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.job-card .btn-outline-primary:hover::before {
    left: 0;
}

.job-card .hover-overlay {
    display: none;
}

.job-card>div {
    position: relative;
    z-index: 1;
    width: 100%;
}

.job-card img {
    width: 80px;
    height: 80px;
    margin-right: 2rem;
    border-radius: 12px;
}

/* ============================================
   CONTACT INFO BOXES
   ============================================ */
.info-box {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--lavender);
    transition: left var(--transition-slow);
    z-index: 0;
}

.info-box:hover::before {
    left: 0;
}

.info-box i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-normal);
}

.info-box:hover i {
    transform: scale(1.2) rotate(10deg);
}

.info-box h4,
.info-box p {
    position: relative;
    z-index: 1;
}

.info-box h4 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    color: var(--gray-dark);
}

.info-box p {
    font-size: 1rem;
    color: var(--gray-medium);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 30%, var(--primary-blue-darker) 60%, var(--primary-blue-darkest) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, var(--aqua-15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--primary-blue-20) 0%, transparent 50%);
    z-index: 0;
    animation: footerGlow 8s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

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

.footer-logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--white-80);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer ul li a:hover {
    color: var(--aqua);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white-10);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background: var(--primary-blue);
    transform: translateY(-5px) scale(1.1);
    color: var(--white);
}

.footer-bottom {
    /* padding: 1.5rem 0; */
    text-align: center;
    margin-top: 2rem;
    color: var(--white);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--aqua));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 999;
}

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

.back-to-top.show {
    display: flex;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .text-content {
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    .navbar-brand .logo {
        margin-left: 1rem;
    }

    .jumbotron {
        padding: 120px 0;
        min-height: 80vh;
    }

    section {
        padding: 60px 0;
    }

    .blog-post {
        flex-direction: column;
    }

    .blog-image {
        max-width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .navbar-nav {
        flex-direction: column;
        text-align: center;
    }

    .nav-link {
        margin: 0.25rem 0;
    }

    .jumbotron {
        padding: 100px 0;
        min-height: 70vh;
    }

    .service-card,
    .team-card {
        margin-bottom: 2rem;
    }

    .job-card {
        flex-direction: column;
        text-align: left;
    }

    .job-card img {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .job-card .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .job-card .badge {
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .jumbotron {
        padding: 80px 0;
    }

    section {
        padding: 40px 0;
    }

    .text-content {
        max-width: 95%;
        padding: 0 15px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   ADDITIONAL MODERN ENHANCEMENTS
   ============================================ */

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--aqua));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Animation */
@keyframes float {

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

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg,
            transparent,
            var(--white-40),
            transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Card Tilt Effect */
.card-tilt {
    transition: transform 0.3s ease;
}

.card-tilt:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Progress Bar Animation */
@keyframes progress {
    from {
        width: 0%;
    }
}

.progress-bar-animated {
    animation: progress 2s ease-out forwards;
}

/* Stagger Animation Delays */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* Smooth Image Loading */
img {
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

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

::-webkit-scrollbar-track {
    background: var(--gray-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-blue), var(--aqua));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-blue-dark), var(--primary-blue));
}

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

::-moz-selection {
    background: var(--aqua-light);
    color: var(--primary-blue);
}

/* ============================================
   NEWSLETTER SUBSCRIPTION FORM
   ============================================ */
.newsletter-section {
    padding: 60px 0;
}

.newsletter-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    color: var(--gray-medium);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    align-items: stretch;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    border: 2px solid var(--primary-blue-15);
    border-right: none;
    border-radius: 50px 0 0 50px;
    padding: 14px 24px;
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.newsletter-input:focus {
    border-color: var(--primary-blue);
    box-shadow: inset 0 0 0 1px var(--primary-blue-20);
}

.newsletter-input::placeholder {
    color: var(--gray-light);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 14px 28px;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-darker));
    transform: scale(1.02);
}

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

.newsletter-btn i {
    font-size: 1rem;
}

/* ============================================
   TEAM PAGE SPECIFIC STYLES
   ============================================ */
.team-image-wrapper {
    width: 210px;
    height: 210px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--white), var(--gray-bg));
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image-wrapper {
    transform: scale(1.05);
}

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

.team-role {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.team-description {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   SUB NAVIGATION BAR STYLES
   ============================================ */
.sub-navbar {
    background-color: var(--primary-blue-light);
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.sub-nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    margin: 0 7px;
    padding: 5px 10px;
    transition: all var(--transition-normal);
    border-radius: var(--border-radius);
    display: inline-block;
}

.sub-nav-link:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}