/* Header styles are now in modern-header.css */

/* Prevent horizontal scrollbar */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

body > * {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Fix for footer container */
#footer .container,
#footer .footer-content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

.main-header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-right: 2rem;
}

.main-header .logo-content {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-right: auto; /* Push everything else to the right */
    align-items: center;
}

.main-header .logo-img {
    height: 75px; /* Slightly larger base size */
    width: auto;
    max-width: none; /* Allow logo to be larger */
    margin-right: 15px;
    transition: all 0.3s ease;
    object-fit: contain;
    object-position: left center;
}

.main-header .brand-name {
    font-size: 2rem; /* Slightly larger */
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
    background: none;
    letter-spacing: -0.5px;
    display: inline-block;
    position: relative;
    margin: 0;
    white-space: nowrap;
}

.main-header .brand-name .highlight {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
    font-weight: 900;
}

.main-header .brand-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.main-header .logo:hover .brand-name::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-header .brand-slogan {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    margin-top: 6px;
    margin-left: 0;
    white-space: nowrap;
    letter-spacing: 0.6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 0;
}

/* Hover effects */
.main-header .logo:hover .logo-img {
    transform: scale(1.05);
}

/* .main-header .logo:hover .brand-name {
    color: var(--primary-color);
} */

/* Logo Animation */
.logo-container {
    position: relative;
    z-index: 1;
    margin: 2rem 0;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Target only the logo image, not the brand name */
.logo-img {
    max-width: 100%;
    height: auto;
    width: 200px; /* Default size */
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: block;
    margin: 0 auto;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 180, 216, 0.5) 0%, rgba(0, 180, 216, 0) 70%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    filter: blur(15px);
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 20px 10px rgba(0, 180, 216, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

/* Navigation Menu */
.nav-container {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav .nav-item {
    margin: 0 0.25rem;
}

.main-nav .nav-link {
    color: #ffffff; /* Changed to white */
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.main-nav .nav-link i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.main-nav .nav-link:hover i {
    transform: translateY(-2px);
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: #ffffff; /* Changed to solid white */
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #ffffff; /* Keep white on hover */
    background: rgba(255, 255, 255, 0.15); /* Lighter background on hover */
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(0, 180, 216, 0.1);
}

/* Header CTA Button */
.header-cta .btn {
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    margin-left: 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.header-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    z-index: -1;
    transition: all 0.3s ease;
}

.header-cta .btn:hover::before {
    opacity: 0.9;
    transform: scale(1.05);
}

.header-cta .btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

/* Responsive adjustments */
/* Tablet and Mobile Styles */
@media (max-width: 992px) {
    .main-header .logo-img {
        height: 70px; /* Larger logo on tablets */
    }
    
    .main-header .brand-name {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .main-header .brand-slogan {
        font-size: 0.9rem;
        display: none; /* Hide slogan on mobile */
    }
    
    .header-content {
        padding: 0.75rem 1.5rem;
        justify-content: space-between;
    }
    
    .main-header .logo {
        margin: 0;
    }
    
    .main-nav .nav-list {
        display: none; /* Hide desktop nav on mobile */
    }
    
    .header-cta {
        display: none; /* Hide CTA on mobile */
    }
    
    .navbar-toggler {
        display: block !important;
        border: none;
        background: transparent;
        padding: 0.5rem;
        font-size: 1.75rem;
        color: #ffffff !important;
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 1rem;
        align-items: center;
    }
    
    .main-header .logo {
        margin-right: 0;
    }
    
    .main-header .logo-img {
        height: 65px; /* Slightly larger logo on mobile */
        margin-right: 10px;
    }
    
    .main-header .logo-content {
        gap: 6px;
        align-items: center;
    }
    
    .main-header .brand-name {
        font-size: 1.5rem;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        max-width: 200px;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }
    
    .main-header .brand-slogan {
        display: none; /* Hide slogan on mobile for more space */
    }
    
    .logo-container {
        margin: 0;
    }
    
    /* Adjust for very small screens */
    @media (max-width: 400px) {
        .main-header .logo-img {
            height: 55px;
        }
        
        .main-header .brand-name {
            font-size: 1.3rem;
            max-width: 160px;
        }
    }
}

.logo-wrapper:hover .logo {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 180, 216, 0.4);
}

.logo-wrapper:hover .logo-glow {
    opacity: 1;
}

/* Hero Section Buttons */
.btn-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary-custom,
.btn-outline-custom {
    min-width: 180px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Hover Effects */
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.4);
    color: white;
}

.btn-outline-custom:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.2);
}

/* Active/Pressed Effect */
.btn-primary-custom:active,
.btn-outline-custom:active {
    transform: translateY(1px);
    transition: transform 0.1s ease;
}

/* Ripple Effect */
.btn-primary-custom::after,
.btn-outline-custom::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
    z-index: -1;
}

.btn-primary-custom:hover::after,
.btn-outline-custom:hover::after {
    transform: scale(4);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .btn-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        max-width: 280px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;  /* Higher than scroll-to-top button */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 6px;
}

.whatsapp-tooltip {
    visibility: hidden;
    width: 180px;
    background-color: #075e54;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    right: 0;
    margin-right: -15px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 20px;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #075e54 transparent transparent transparent;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 30px;
        right: 20px;
        font-size: 25px;
    }
    
    .whatsapp-tooltip {
        font-size: 12px;
        width: 150px;
        margin-right: -10px;
    }
}

/* Prevent horizontal scrollbar and ensure full width */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure all containers respect the viewport width */
body > * {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix for footer container */
#footer .container,
#footer .footer-content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 140px; /* 60px (whatsapp height) + 40px (whatsapp bottom) + 20px (gap) + 20px (visual balance) */
    right: 35px; /* Slight right adjustment for better visual alignment */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1001; /* Higher than WhatsApp button's z-index of 1000 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    padding: 0;
    outline: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
    transform: translateY(1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        right: 20px;
        bottom: 20px;
    }
}

/* Color System */
:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent-color: #60bae6;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --white: #ffffff;
    --black: #000000;
    
    /* Transitions */
    --transition-speed: 0.3s;
    --transition-base: all var(--transition-speed) ease;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.4s ease;
    --transition-bounce: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth-bounce: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 8px 25px rgba(0, 180, 216, 0.3);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(10px);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    
    /* Gradients */
    --gradient-start: #3b82f6;
    --gradient-end: #409df4;
    --gradient-primary: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
}

/* Hide scroll button */
.scroll-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove default button styling */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space);
}

.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Spacing Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-xs) !important; }
.mt-2 { margin-top: var(--space-sm) !important; }
.mt-3 { margin-top: var(--space) !important; }
.mt-4 { margin-top: var(--space-md) !important; }
.mt-5 { margin-top: var(--space-lg) !important; }
.mt-6 { margin-top: var(--space-xl) !important; }
.mt-8 { margin-top: var(--space-2xl) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-xs) !important; }
.mb-2 { margin-bottom: var(--space-sm) !important; }
.mb-3 { margin-bottom: var(--space) !important; }
.mb-4 { margin-bottom: var(--space-md) !important; }
.mb-5 { margin-bottom: var(--space-lg) !important; }
.mb-6 { margin-bottom: var(--space-xl) !important; }
.mb-8 { margin-bottom: var(--space-2xl) !important; }

/* Display Utilities */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* Text Utilities */
.text-primary { color: var(--primary-color); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

/* Background Utilities */
.bg-primary { background-color: var(--primary-color); }
.bg-white { background-color: var(--white); }
.bg-transparent { background-color: transparent; }

/* Border Utilities */
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }
.border { border: 1px solid #e2e8f0; }
.border-t { border-top: 1px solid #e2e8f0; }
.border-b { border-bottom: 1px solid #e2e8f0; }

/* Shadow Utilities */
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Global Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00e5ff, transparent);
    border-radius: 4px;
    opacity: 0.8;
}

.section-header p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 2rem auto 0;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Common Styles */
section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
}

/* Hero Section - Moved to home-section.css */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Services Section */
#work {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/tab%20image.jpg') center/cover no-repeat fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: rgba(105, 183, 255, 0.124);
    text-align: center;
}

.service-item {
    background: rgba(255, 255, 255, 0.997);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.2);
    border-color: rgba(0, 229, 255, 0.3);
}

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

.service-icon {
    font-size: 3rem;
    color: #00e5ff;
    margin-bottom: 25px;
    display: inline-block;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    transition: 0.4s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: #ffffff;
}

.service-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #00e5ff;
    transition: 0.4s ease;
}

.service-item:hover h3::after {
    width: 80px;
    background: #ffffff;
}

.service-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.service-link {
    color: #00e5ff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.3s ease;
}

.service-link i {
    margin-left: 8px;
    transition: 0.3s ease;
}

.service-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
#contact {
    position: relative;
    min-height: 100vh;
    padding: 6rem 0;
    overflow: hidden;
    background: rgba(0, 180, 216, 0.1);
}

#contact .container {
    position: relative;
    z-index: 2;
    background: rgba(5, 66, 135, 0.533);
    border-radius: 15px;
    opacity: 1;
    backdrop-filter: blur(10px);
}

/* Section Title Styles */
#contact .section-title h1 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#contact .section-title hr {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border: none;
    margin: 0 auto 3rem;
}

/* Contact section styles moved to responsive-sections.css */

/* Form control styles */
.form-control {
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #00e5ff;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.3);
    color: #ffffff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
    padding-top: 1rem;
    background: rgba(12, 80, 96, 0.78);
}

/* Button base styles */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all var(--transition-normal);
    cursor: pointer;
}

/* Outline button variant */
.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    margin: 0.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .contact-form {
        margin-top: 3rem;
    }
    
    .contact-item {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info, 
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    #contact {
        padding: 4rem 0;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-send {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

/* Contact items */
.contact-item {
    display: flex;
    background: rgba(27, 77, 133, 0.574);
    align-items: flex-start;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 15px;
}

.contact-item:hover {
    background: rgba(0, 180, 216, 0.644);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
}

.contact-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.5);
}

.contact-item:hover .contact-icon::before {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-item:hover .contact-icon svg {
    transform: scale(1.1);
}

.contact-item:hover .contact-icon::after {
    width: 60px;
    height: 60px;
    opacity: 0.5;
    transform: scale(1);
}

.contact-item:active .contact-icon {
    transform: scale(0.95);
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.contact-item p,
.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
}

.contact-item a {
    padding: 0.25rem 0;
    margin: 0 -0.25rem;
    border-radius: 4px;
    position: relative;
    display: inline-block;
}

.contact-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0.2em;
    left: 0.25rem;
    background-color: #00e5ff;
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: #00e5ff;
}

.contact-item a:hover::after {
    width: calc(100% - 0.5rem);
}

/* Better touch targets for mobile */
@media (max-width: 767.98px) {
    .contact-item a {
        padding: 0.35rem 0.5rem;
        margin: 0.25rem -0.5rem;
        display: inline-flex;
        align-items: center;
    }
    
    .contact-item a::after {
        bottom: 0.5rem;
        left: 0.5rem;
    }
    
    .contact-item a:hover::after {
        width: calc(100% - 1rem);
    }
}

/* Form submit button */
.btn-send {
    background: linear-gradient(135deg, #0066cc, #004d99);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-send::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #0077e6, #005bb5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.5);
}

.btn-send:hover::before {
    width: 100%;
}

.btn-send .spinner-border {
    margin-right: 0.5rem;
}

.btn-send:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.4);
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group.mb-3 {
    margin-bottom: 1rem;
}

.form-group.mb-4 {
    margin-bottom: 1.5rem;
}

/* Contact alert */
#contactAlert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

#contactAlert.alert-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #28a745;
}

#contactAlert.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Alert animations */
.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Clients Section */
#clients {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/portfolio-img5.jpg') center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: rgba(12, 81, 124, 0.171);
    text-align: center;
    position: relative;
}

#clients .section-title h1,
#clients .section-title hr {
    color: white;
    border-color: var(--accent-color);
}

#clients .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

/* Client Section Styles */
.client-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: block;
}

.client-desc {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    text-decoration: none !important;
    display: block;
    color: #f7fdfb;
}

.client-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all var(--transition-fast);
}

.client-btn:hover .client-logo,
.client-btn:hover .client-logo-img {
    transform: scale(1.1);
}

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

/* Portfolio Section */
#portfolio {
    background: transparent;
    color: var(--text-primary);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-bounce);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    transform: translateY(30px);
    transition: transform var(--transition-smooth) var(--transition-fast);
}

.portfolio-item:hover .portfolio-info h3,
.portfolio-item:hover .portfolio-info p {
    transform: translateY(0);
}

/* Core Values Section */
#core-values {
    background: transparent;
    padding: 100px 0;
    position: relative;
}

/* Scroll to Top/Footer Button */
.scroll-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #4f46e5 !important; /* Using explicit color to ensure visibility */
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important; /* Always use flex for layout */
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    z-index: 9999 !important; /* Very high z-index to ensure it's on top */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    opacity: 0;
    visibility: hidden;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
}

.scroll-btn.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

/* Ensure the icon is properly centered */
.scroll-btn i {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.scroll-btn:hover {
    background: #4338ca !important; /* Slightly darker shade for hover */
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
}

.scroll-btn i {
    transition: transform 0.3s ease;
}

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

/* Footer styles are in footer.css */

#core-values .section-title h1 {
    color: var(--text-primary);
}

#core-values .section-title hr {
    border-color: var(--accent-color);
}

#core-values .tab-content {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

/* Tab Styles */
.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border-radius: 4px 4px 0 0;
    margin: 0;
}

.tab-button:hover {
    background: #e9ecef;
}

.tab-button.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
    position: relative;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #007bff;
}

/* Button Styles */
.btn-primary-custom {
    background: white;
    border: 2px solid white;
    color: var(--primary-color) !important;
    padding: 0.875rem 2rem;
    font-weight: 600;
    margin: 0.5rem;
    transition: all var(--transition-normal);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.btn-primary-custom:hover {
    background: transparent;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid white;
    color: white !important;
    padding: 1rem 2rem;
    font-weight: 600;
    margin: 0.5rem;
    transition: all var(--transition-normal);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.255);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Hero Section - Moved to home-section.css */

.hero-subtitle {
    font-size: 1.6rem;
    margin: 2.5rem 0 3.5rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    background-attachment: fixed;
    background-size: cover;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/contact-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/contact-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.contact-info {
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    height: 100%;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.043);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-item-content p,
.contact-item-content a {
    margin: 0;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.contact-item-content a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: -1;
    pointer-events: none;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 229, 255, 0.4);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    transition: all var(--transition-normal);
    height: auto;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.25);
    color: #ffffff;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form .btn-primary {
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

/* Button container for better spacing */
.btn-container {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .btn-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-container .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.25rem 0;
    }
}

/* Service Item */
.service-item {
    background: rgba(255, 255, 255, 0.097);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Section Title */
.section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
}

.section-title h1 {
    font-size: 3.5rem; /* Increased from 2.75rem */
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.star-container {
    margin: 0.5rem 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title .fa-star {
    font-size: 7rem;
    color: #00e5ff; /* Fallback */
    /* Text outline using text-shadow for cross-browser support */
    text-shadow: 
        -1px -1px 0 #00a6c7,
        1px -1px 0 #00a6c7,
        -1px 1px 0 #00a6c7,
        1px 1px 0 #00a6c7,
        0 0 8px rgba(0, 229, 255, 0.3);
    /* Standard property with fallback */
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #00a6c7;
    margin: 0.5rem 0;
    display: inline-block;
    animation: pulse 2s infinite ease-in-out, rotate 15s infinite linear;
    transition: all 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Services section heading styles */
#work .section-title h4 {
    color: #ffffff !important;
    background: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    margin: 1rem 0 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: none;
}

/* Remove any underlines or decorative lines from services section paragraph */
#work .section-title p {
    text-decoration: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    position: relative;
}

#work .section-title p::after,
#work .section-title p::before {
    content: none !important;
    display: none !important;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

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

.animated-star {
    display: inline-block;
    transition: all 0.3s ease;
}

.animated-star:hover {
    transform: scale(1.3);
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.9));
}

.section-title .text-primary {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}


/* Footer styles are in footer.css */

/* Prevent horizontal scrollbar */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure all elements stay within viewport */
* {
    box-sizing: border-box;
}

/* Fix for container and row elements */
.container, 
.container-fluid {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    /* Home section responsive styles moved to home-section.css */

    .service-item {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    /* Home section responsive styles moved to home-section.css */

    .section-title h2 {
        font-size: 2rem;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        max-width: 300px;
        margin: 0.5rem auto;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-button {
        border-radius: 4px;
        margin-bottom: 5px;
    }

    .tab-button.active::after {
        display: none;
    }
}

/* =================================
   Pricing Section Styling
   ================================= */

/* Pricing Section */
#pricing {
    position: relative;
    padding: 100px 0;
    background: #0f172a;
    color: white;
    min-height: auto;
    display: block;
    z-index: 1;
}

#pricing .bg-image,
#pricing .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#pricing .bg-overlay {
    background: rgba(15, 23, 42, 0.9);
}

#pricing .container {
    position: relative;
    z-index: 2;
}

#pricing .bg-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    z-index: 0;
}

#pricing .bg-image {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/portfolio-img5.jpg') no-repeat center center fixed;
    background-size: cover;
    z-index: -2;
    opacity: 0.9;
}

#pricing .container {
    position: relative;
    z-index: 2;
    padding: 40px 15px;
    overflow: visible !important;
}

/* Pricing Header Styles */
.pricing-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    animation: float 3s ease-in-out infinite;
}

.pricing-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pricing-title .text-gradient,
.cta-title .text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

/* CTA Text */
.cta-text {
    font-size: 1.2rem;
    color: #ffffff !important;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    opacity: 0.95;
}

.pricing-sub.cta-text {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border: none;
    margin: 1.5rem auto;
    border-radius: 2px;
    opacity: 0.8;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

/* Pricing Subtitle */
.pricing-subtitle {
    font-size: 1.3rem;
    color: #ffffff !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.6;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .pricing-title {
        font-size: 2.8rem;
    }
    
    .pricing-subtitle {
        font-size: 1.25rem;
        color: #ffffff !important;
        font-weight: 500;
        letter-spacing: 0.3px;
        line-height: 1.6;
        opacity: 1;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .pricing-title {
        font-size: 2.2rem;
    }
    
    .pricing-subtitle {
        font-size: 1.15rem;
        color: #ffffff !important;
        font-weight: 500;
        letter-spacing: 0.3px;
        line-height: 1.6;
        opacity: 1;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        max-width: 800px;
        margin: 0 auto;
    }
    
    .pricing-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
}

/* Background Elements */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #06B6D4, #3B82F6);
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
    overflow: visible;
    height: auto;
    min-height: 600px;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Featured Card Styling */
.pricing-card.featured {
    border: 1px solid rgba(99, 102, 241, 0.5);
    background: rgba(30, 41, 59, 0.95);
    position: relative;
    z-index: 2;
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

/* Popular Tag */
.popular-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 4px 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
    transform-origin: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 150px;
    text-align: center;
    right: -50px;
}

/* Card Header */
.pricing-card-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.pricing-icon {
    width: auto;
    height: auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    transition: all var(--transition-fast);
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.1);
    color: var(--primary-light);
}

/* Price Styling */
.price-tag {
    margin: 1rem 0;
}

.price-tag .h1 {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
}

/* Features List */
.pricing-features {
    padding: 1.5rem;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features ul li {
    padding: 0.5rem 0;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    transition: all var(--transition-fast);
}

.pricing-features ul li i {
    margin-top: 0.25rem;
    margin-right: 0.5rem;
}

.pricing-features ul li:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

/* Card Footer */
.pricing-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Bottom CTA */
.bg-gradient-primary-soft {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .pricing-card.featured {
        transform: none;
        margin: 1rem 0;
    }
    
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    #pricing {
        padding: 4rem 0;
    }
}

/* Blur Effects */
.blur-3 {
    filter: blur(30px);
    opacity: 0.7;
}

.blur-4 {
    filter: blur(40px);
    opacity: 0.5;
}

/* Contact Section Styles */
/* Contact section styles moved to theme-styles.css for better organization */

#contact .contact-info {
    background: transparent;
    border: none;
    padding: 0;
    height: 100%;
    box-shadow: none;
}

#contact .contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

#contact .contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

#contact .contact-info h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

#contact .contact-info p, 
#contact .contact-info a {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

#contact .contact-info a:hover {
    color: var(--primary-light);
    text-decoration: none;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.pricing-card.featured {
    border: 1px solid var(--primary-light);
    position: relative;
    z-index: 1;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(59, 130, 246, 0.1));
    z-index: -1;
    border-radius: 16px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, #ffffff, #e0e9ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.pricing-card .price-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.pricing-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-card .feature-list li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.75rem;
}

.pricing-card .feature-list li::before {
    content: '✓';
    color: var(--primary-light);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Brighter text-muted elements in pricing cards */
.pricing-card .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

.pricing-card .text-muted.small {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
}

.pricing-card.featured .text-muted,
.pricing-card.featured .text-muted.small {
    color: rgba(255, 255, 255, 0.9) !important;
}

.pricing-card:hover .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.pricing-card.featured:hover .text-muted {
    color: rgba(255, 255, 255, 1) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    #contact .contact-info,
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
}

/* CTA Badge */
.cta-badge {
    display: inline-block;
    background: linear-gradient(90deg, #1d4ed8, #3b82f6);
    color: white !important;
    padding: 0.6rem 1.8rem !important;
    border-radius: 50px;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.7);
    background: transparent;
}

.cta-badge:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-badge {
        font-size: 1rem !important;
        padding: 0.5rem 1.5rem !important;
    }
}

/* Utility Classes */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.py-lg-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.mt-6 {
    margin-top: 4rem !important;
}

.mt-lg-8 {
    margin-top: 6rem !important;
}

/* Title Underline with Star */
.title-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.title-underline .line {
    height: 2px;
    width: 50px;
    background: linear-gradient(90deg, transparent, #a6dadfd4, transparent);
    opacity: 1;
}

.title-underline .fa-star {
    color: #2ecbbef3;
    font-size: 4.5rem; 
    margin: 0 1.2rem; 
    text-shadow: 0 0 10px rgba(38, 187, 220, 0.5); 
    animation: pulse 5s ease-in-out infinite;
}

/* Pulse animation */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}