:root {
    /* Midnight Serenity Color Scheme */
    --color-primary: #1A2B4C; /* Deep Navy Blue */
    --color-primary-hover: #152238;
    --color-secondary: #FF6F61; /* Soft Coral */
    --color-secondary-hover: #E55A4D;
    --color-accent: #A8E6CF; /* Pale Mint Green */
    --color-text: #3D3D3D; /* Charcoal Gray */
    --color-text-light: #5B5B5B;
    --color-background: #F5F1E9; /* Warm Off-White */
    --color-background-alt: #EAE6DE;
    --color-border: #D9D5CD;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-background);
}

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ----- Custom Cursor Implementation ----- */

/* Main cursor element styles */
.custom-cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-secondary); /* Using your theme's soft coral color */
    pointer-events: none;
    opacity: 0.6;
    z-index: 9999;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
    mix-blend-mode: exclusion; /* Creates a nice effect on different backgrounds */
    
    /* Add a subtle glow effect */
    box-shadow: 0 0 10px rgba(255, 111, 97, 0.3);
    
    /* Ensure hardware acceleration for smoother movement */
    will-change: transform;
}

/* Hover state - when cursor is over interactive elements */
.custom-cursor.hover {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    background-color: var(--color-secondary);
}

/* Active/click state */
.custom-cursor.active {
    width: 12px;
    height: 12px;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Make sure we don't apply custom cursor on mobile/touch devices */
@media (hover: none), (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
    
    body.custom-cursor-active {
        cursor: auto !important; /* Restore default cursor on touch devices */
    }
}

/* For desktop devices, hide the default cursor when custom cursor is active */
@media (hover: hover) {
    body.custom-cursor-active {
        cursor: none !important;
    }
    
    /* Ensure links and buttons still show the cursor-pointer when hovered */
    body.custom-cursor-active a,
    body.custom-cursor-active button,
    body.custom-cursor-active input[type="submit"],
    body.custom-cursor-active input[type="button"],
    body.custom-cursor-active .btn-primary,
    body.custom-cursor-active .btn-secondary,
    body.custom-cursor-active .service-card,
    body.custom-cursor-active .portfolio-card,
    body.custom-cursor-active .social-icon,
    body.custom-cursor-active .social-link {
        cursor: none !important;
    }
}

/* Optional: Add pulse animation for added visual interest */
@keyframes cursor-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 111, 97, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 111, 97, 0);
    }
}

/* Apply pulse animation to hover state for extra interactivity */
.custom-cursor.hover {
    animation: cursor-pulse 1.5s infinite;
}

/* Debug helper - uncomment if needed to troubleshoot */
/*
.cursor-debug-info {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    z-index: 10000;
    border-radius: 4px;
}
*/

/* Top Bar / Contact Info Bar Styles */
.top-bar {
    position: fixed;
    width: 100%;
    z-index: 50;
    top: 0;
    background-color: #1e2b48;
    padding: 0.5rem 0;
    color: rgba(245, 241, 233, 0.9);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(245, 241, 233, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.info-item:hover {
    color: rgba(245, 241, 233, 1);
}

.info-item i {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

.info-icon {
    width: 14px;
    height: 14px;
    opacity: 0.85;
}

.top-bar-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-socials .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 241, 233, 0.85);
    transition: all 0.2s ease;
    padding: 0.25rem;
}

.top-bar-socials .social-link:hover {
    color: rgba(245, 241, 233, 1);
}

.top-bar-socials i {
    width: 16px;
    height: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-info {
        gap: 1rem;
    }
    
    .info-item span {
        display: none; /* Hide text on small screens, show only icons */
    }
    
    .info-item {
        padding: 0.125rem;
    }
    
    .top-bar-socials {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .top-bar-content {
        justify-content: center; /* Center all content on very small screens */
    }
    
    .contact-info {
        justify-content: center;
    }
}

/* Navigation */
.nav {
    position: fixed;
    width: 100%;
    background: rgba(26, 43, 76, 0.95); /* Deep Navy Blue with transparency */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 49;
    transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-background);
    transform-origin: left;
    transition: transform 0.3s var(--transition-smooth);
}

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

.nav-links {
    display: none;
}

.nav-links a {
    color: var(--color-background);
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s var(--transition-smooth);
    color: var(--color-background);
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu {
    display: none;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    transform-origin: top;
    transition: transform 0.3s var(--transition-smooth);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s var(--transition-smooth);
}

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

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-links a {
    color: var(--color-background);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s var(--transition-smooth);
}

.mobile-menu-links a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 5rem;
    background: var(--color-background);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("");
    opacity: 0.5;
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s var(--transition-smooth) forwards;
}

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

.hero-text {
    max-width: 600px;
}

.hero-label {
    color: var(--color-secondary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    opacity: 0;
    animation: slideIn 0.6s var(--transition-smooth) 0.3s forwards;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    opacity: 0;
    animation: slideIn 0.6s var(--transition-smooth) 0.5s forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 .highlight {
    color: var(--color-primary);
    display: block;
    position: relative;
}

.hero-description {
    color: var(--color-text-light);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 540px;
    opacity: 0;
    animation: slideIn 0.6s var(--transition-smooth) 0.7s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideIn 0.6s var(--transition-smooth) 0.9s forwards;
}

.hero-locations {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    opacity: 0;
    animation: slideIn 0.6s var(--transition-smooth) 1.1s forwards;
}

.hero-locations span {
    position: relative;
}

.hero-locations span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -1rem;
    color: var(--color-text-light);
}

.hero-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.6s var(--transition-smooth) 1.3s forwards;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    transition: transform 0.6s var(--transition-smooth);
}

.hero-image:hover img {
    transform: scale(1.05);
}

.stat-card {
    position: absolute;
    background: rgba(26, 43, 76, 0.9);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.top {
    top: 1rem;
    right: 1rem;
}

.stat-card.bottom {
    bottom: 1rem;
    left: 1rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-background);
    margin-top: 0.25rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-secondary);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(26, 43, 76, 0.1);
    color: var(--color-primary);
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: rgba(26, 43, 76, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Hero Video Styles */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.6s var(--transition-smooth);
}

.hero-image:hover .hero-video {
    transform: scale(1.05);
}

/* Ensure the video maintains the same styling as the previous image */
.hero-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.6s var(--transition-smooth) 1.3s forwards;
    aspect-ratio: 16/9; /* Maintain a consistent aspect ratio */
}

/* Video play button styling */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 43, 76, 0.7);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.video-play-button:hover {
    background: var(--color-secondary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-paused::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 43, 76, 0.3);
    z-index: 1;
}

/* Loading state handling */
.hero-image.video-loaded {
    opacity: 1;
}

/* Services section container */
.services {
    padding: 8rem 0;
    background-color: var(--color-background-alt);
    position: relative;
    overflow: hidden;
}
  
/* Background pattern for services section */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231A2B4C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}
  
/* Section header - centralized */
.services .section-header {
    text-align: center;
    margin: 0 auto 5rem;
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}
  
.services .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--color-text);
}
  
.services .section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}
  
/* Services card grid */
.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}
  
/* Individual card styling - more compact */
.service-card {
    width: 100%;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s forwards;
    height: 100%;
    display: flex;
    flex-direction: column;
}
  
/* Staggered animation delays */
.service-card:nth-child(1) { animation-delay: 0.3s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }
.service-card:nth-child(4) { animation-delay: 0.6s; }
.service-card:nth-child(5) { animation-delay: 0.7s; }
  
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
  
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--color-secondary);
    transition: height 0.4s ease;
    z-index: -1;
}
  
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-secondary);
}
  
.service-card:hover::before {
    height: 100%;
}
  
/* Service icon styling */
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    background-color: rgba(26, 43, 76, 0.1);
    color: var(--color-primary);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}
  
.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: var(--color-background);
    transform: scale(1.1) rotate(10deg);
}
  
/* Service title styling */
.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}
  
.service-card:hover .service-title {
    color: var(--color-primary);
    transform: translateX(10px);
}
  
/* Service description styling */
.service-description {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}
  
/* Feature list styling */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    margin-top: auto; /* Push to bottom of flex container */
}
  
.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}
  
.service-card:hover .feature-item {
    transform: translateX(5px);
}
  
.feature-item i {
    color: var(--color-secondary);
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}
  
/* Service link styling */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
    margin-top: auto; /* Push to bottom if needed */
}
  
.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}
  
.service-link:hover {
    gap: 0.75rem;
}
  
.service-link:hover::after {
    width: 100%;
}
  
.service-link i {
    transition: transform 0.3s ease;
}
  
.service-link:hover i {
    transform: translateX(4px);
}
  
/* View all services link */
.all-services-link {
    text-align: center;
    margin-top: 3rem;
}
  
.btn-secondary.view-all {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}
  
.btn-secondary.view-all:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    transform: translateY(-5px);
}

.all-services-link .btn-secondary.view-all {
    position: relative;
    z-index: 10; /* Ensure it's above other elements */
    cursor: pointer !important; /* Force pointer cursor */
}

/* Transform Section */
.transform {
    padding: 5rem 0;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.transform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23A8E6CF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.transform .container {
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.transform .section-header {
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 800rem;
}

.transform .section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--color-secondary), #FF8D82);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.transform .section-header p {
    color: var(--color-background);
    font-size: 1.25rem;
    line-height: 1.6;
}

.transform .section-header h2::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 3px;
    background: var(--color-secondary);
    bottom: -10px;
    left: 30%;
    border-radius: 3px;
}

.transform-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.elfsight-app-5956b79c-861b-48d0-ad3d-22188253ae1a {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.elfsight-app-container, 
.eapps-widget,
[class*="eapps-"],
[class^="eui-"] {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.transform-content iframe,
.elfsight-app-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    display: block !important;
    margin: 0 !important;
}

.transform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem auto 2rem;
    max-width: 80rem;
    padding: 0 1rem;
}

.feature-card {
    background: rgba(168, 230, 207, 0.2); /* Pale mint with transparency */
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s var(--transition-smooth);
    border: 1px solid rgba(168, 230, 207, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--color-accent);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 111, 97, 0.15);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--color-secondary);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-background);
}

.feature-card p {
    color: var(--color-background);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.7;
}

.transform-cta {
    text-align: center;
    margin: 3rem auto;
    max-width: 80rem;
    padding: 0 1rem;
}

/* Fix for before/after slider */
.transform .eapps-before-after-element-label {
    background: rgba(26, 43, 76, 0.7) !important;
    color: white !important;
}

/* Modern Portfolio Section Styles */
.portfolio {
    padding: 7rem 0;
    background-color: var(--color-background);
    position: relative;
    overflow: hidden;
  }
  
  .portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231A2B4C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
  }
  
  .portfolio .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
  }
  
  .portfolio .section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .portfolio .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-text);
    position: relative;
    display: inline-block;
  }
  
  .portfolio .section-header h2::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 3px;
    background: var(--color-secondary);
    bottom: -10px;
    left: 30%;
    border-radius: 3px;
  }
  
  .portfolio .section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-top: 1.5rem;
  }
  
  /* Portfolio section spacing adjustment (since we removed filters) */
  .portfolio .section-header {
    margin-bottom: 3.5rem;
  }
  
  /* Gallery Container - Remove fade edges */
  .portfolio-gallery {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    margin-bottom: 3rem;
  }
  
  /* Scroll Tracks - Fixed to prevent gaps */
  .portfolio-track {
    display: flex;
    gap: 0; /* Remove gap as we're using margins on cards instead */
    margin-bottom: 2.5rem;
    min-width: max-content;
    animation: scroll 60s linear infinite;
    will-change: transform;
    padding: 0.75rem 0;
  }
  
  .portfolio-track:hover {
    animation-play-state: paused;
  }
  
  .portfolio-track.reverse {
    animation-direction: reverse;
    animation-duration: 75s;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100% / 2 - 20px)); /* Adjusted to ensure no gaps */
    }
  }
  
  /* Modern Portfolio Card */
  .portfolio-card {
    flex: 0 0 500px;
    height: auto;
    min-height: 400px;
    max-height: 450px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    margin: 0 0.75rem; /* Added margin to prevent content touching */
  }
  
  .portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 10;
  }
  
  .portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
      rgba(26, 43, 76, 0.9) 0%,
      rgba(26, 43, 76, 0.7) 20%,
      rgba(26, 43, 76, 0.3) 40%,
      transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .portfolio-card:hover::after {
    opacity: 1;
  }
  
  .portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Focus on the top of websites */
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .portfolio-card:hover .portfolio-image {
    transform: scale(1.05) translateY(-5%); /* Modified transform to show more of the website */
  }
  
  /* Animation for loaded images */
  .portfolio-image.image-loaded {
    animation: fadeIn 0.3s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0.8; }
    to { opacity: 1; }
  }
  
  .portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 5;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: white;
  }
  
  .portfolio-card:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
  }
  
  .portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background-color: var(--color-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
  }
  
  .portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease 0.1s;
  }
  
  .portfolio-card:hover .portfolio-link {
    opacity: 1;
    transform: translateX(0);
  }
  
  .portfolio-link svg {
    transition: transform 0.3s ease;
  }
  
  .portfolio-link:hover svg {
    transform: translateX(3px);
  }
  
  /* View all projects button */
  .portfolio-cta {
    text-align: center;
    margin-top: 1rem;
  }
  
  .portfolio-cta .btn-secondary {
    position: relative;
    overflow: hidden;
    padding: 0.75rem 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .portfolio-cta .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 43, 76, 0.1), transparent);
    transition: left 0.6s ease;
  }
  
  .portfolio-cta .btn-secondary:hover::before {
    left: 100%;
  }
  
  /* Mobile responsive adjustments */
  @media (max-width: 768px) {
    .portfolio {
      padding: 5rem 0;
    }
    
    .portfolio-filters {
      padding: 0 1rem;
      margin-bottom: 2rem;
      gap: 0.5rem;
    }
    
    .portfolio-filter-btn {
      padding: 0.5rem 1rem;
      font-size: 0.8rem;
    }
    
    .portfolio-card {
      flex: 0 0 300px;
      height: 250px;
    }
    
    .portfolio-content {
      padding: 1.5rem;
    }
    
    .portfolio-title {
      font-size: 1.1rem;
    }
  }
  
  @media (max-width: 576px) {
    .portfolio .section-header h2 {
      font-size: 2rem;
    }
    
    .portfolio-card {
      flex: 0 0 260px;
      height: 220px;
    }
    
    .portfolio-content {
      padding: 1.25rem;
    }
    
    .portfolio-category {
      font-size: 0.7rem;
      padding: 0.2rem 0.6rem;
    }
    
.portfolio-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    }
}


/* Contact Section */
.contact {
    position: relative;
    padding: 10rem 0 8rem;
    overflow: hidden;
}
  
.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a3c5d 50%, #3a4c6d 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
}
  
@keyframes gradientShift {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}
  
.contact-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23A8E6CF' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
}
  
/* Decorative shapes */
.shape-1, .shape-2, .shape-3 {
    position: absolute;
    z-index: -1;
    opacity: 0.4;
    filter: blur(30px);
    border-radius: 50%;
}
  
.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 111, 97, 0.3);
    top: -100px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}
  
.shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(168, 230, 207, 0.2);
    bottom: -80px;
    left: -100px;
    animation: float 6s ease-in-out infinite reverse;
}
  
.shape-3 {
    width: 150px;
    height: 150px;
    background: rgba(255, 111, 97, 0.15);
    bottom: 20%;
    right: 10%;
    animation: float 10s ease-in-out infinite 1s;
}
  
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}
  
/* Section content */
.contact .container {
    position: relative;
    z-index: 1;
}
  
.contact .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    position: relative;
}
  
.contact .section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--color-secondary), #FF8D82);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
  
.contact .section-header p {
    color: var(--color-background);
    font-size: 1.25rem;
    line-height: 1.6;
}
  
/* Main content layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(245, 241, 233, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border: 1px solid var(--color-border);
}
  
/* Contact info panel */
.contact-info-panel {
    background: var(--color-secondary);
    color: white;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}
  
.contact-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}
  
.contact-panel-content {
    position: relative;
    z-index: 1;
}
  
.contact-panel-header {
    margin-bottom: 2.5rem;
}
  
.contact-panel-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
  
.contact-panel-header p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1.05rem;
}
  
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 3rem;
}
  
.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
  
.contact-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
  
.contact-method:hover .contact-method-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}
  
.contact-method-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
  
.contact-method-content p {
    opacity: 0.8;
    font-size: 0.95rem;
}
  
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}
  
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}
  
.social-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}
  
/* Form panel */
.form-panel {
    padding: 3.5rem;
    position: relative;
    background-color: rgba(245, 241, 233, 0.95);
}
  
.form-panel h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
}
  
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
  
.form-field {
    position: relative;
    margin-bottom: 1.5rem;
}
  
.form-field.full {
    grid-column: span 2;
}
  
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    color: var(--color-text);
}
  
textarea.form-input {
    min-height: 150px;
    resize: none;
}
  
.form-input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px rgba(255, 111, 97, 0.2);
}
  
.form-input::placeholder {
    color: var(--color-text-light);
    opacity: 0.7;
}
  
.form-input:focus::placeholder {
    opacity: 0.4;
}
  
.form-label {
    position: absolute;
    top: 0;
    left: 1.25rem;
    padding: 0 0.25rem;
    font-size: 0.875rem;
    transform: translateY(-50%);
    background-color: var(--color-background);
    color: var(--color-text-light);
}
  
.form-submit {
    grid-column: span 2;
    text-align: left;
    margin-top: 1rem;
}
  
.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-secondary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
  
.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}
  
.submit-btn:hover {
    background: var(--color-secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 111, 97, 0.3);
}
  
.submit-btn:hover::before {
    left: 100%;
}
  
.form-footer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
  
.form-footer i {
    color: var(--color-primary);
}

/* Footer Styles */
.footer {
    position: relative;
    padding: 8rem 0 2rem;
    overflow: hidden;
    background: var(--color-primary);
    color: var(--color-background);
}
  
/* Diagonal cut at the top of the footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--color-primary);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
    transform: translateY(-99px);
}
  
.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}
  
/* Grid layout for footer content */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}
  
/* Brand column */
.footer-brand {
    margin-bottom: 1.5rem;
}
  
.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-background);
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    text-decoration: none;
}
  
.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 3px;
    transition: width 0.3s ease;
}
  
.footer-logo:hover::after {
    width: 100%;
}
  
.footer-tagline {
    color: rgba(245, 241, 233, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}
  
/* Newsletter form */
.footer-newsletter {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}
  
.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-background);
}
  
.newsletter-form {
    position: relative;
    max-width: 350px;
}
  
.newsletter-input {
    width: 100%;
    padding: 0.875rem 1.5rem;
    padding-right: 3.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.95rem;
    color: var(--color-background);
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
  
.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-accent);
}
  
.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
  
.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
  
.newsletter-btn:hover {
    background: var(--color-secondary-hover);
    transform: translateX(3px);
}
  
.newsletter-btn i {
    width: 18px;
    height: 18px;
}
  
/* Links columns */
.footer-links-col h3,
.footer-links-col h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-background);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}
  
.footer-links-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--color-secondary);
    border-radius: 3px;
}
  
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
  
.footer-link {
    color: rgba(245, 241, 233, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    position: relative;
    padding-left: 0;
}
  
.footer-link::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--color-secondary);
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}
  
.footer-link:hover {
    color: var(--color-background);
    transform: translateX(5px);
}
  
.footer-link:hover::before {
    width: 100%;
}
  
/* Social icons with cool hover effect */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
  
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-background);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}
  
.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}
  
.social-icon:hover {
    transform: translateY(-5px);
}
  
.social-icon:hover::before {
    transform: scale(1);
}
  
.social-icon i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}
  
.social-icon:hover i {
    transform: scale(1.2);
}
  
/* Bottom footer */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
  
.footer-copyright {
    color: rgba(245, 241, 233, 0.7);
    font-size: 0.9rem;
}
  
.footer-legal-links {
    display: flex;
    gap: 2rem;
}
  
.footer-legal-link {
    color: rgba(245, 241, 233, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
  
.footer-legal-link:hover {
    color: var(--color-background);
}
  
/* Animated gradient background on hover */
.highlight-gradient {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
  
.highlight-gradient::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
      rgba(168, 230, 207, 0) 0%, 
      rgba(168, 230, 207, 0.3) 50%, 
      rgba(168, 230, 207, 0) 100%
    );
    transform: translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
    z-index: -1;
}
  
.highlight-gradient:hover::after {
    transform: translateY(100%) rotate(45deg);
}
  
/* Cool Glowing Accents */
.glow-accent {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.15;
    z-index: 1;
}
  
.glow-1 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    left: -50px;
    background: var(--color-secondary);
    animation: pulse 8s ease-in-out infinite alternate;
}
  
.glow-2 {
    width: 150px;
    height: 150px;
    top: 50px;
    right: 10%;
    background: var(--color-accent);
    animation: pulse 6s ease-in-out infinite alternate 1s;
}
  
@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    100% {
        opacity: 0.18;
        transform: scale(1.2);
    }
}

/* Elfsight widget fixes */
.eui-widget-wrapper,
.eapps-before-after,
.eapps-before-after-wrapper,
.eapps-before-after-container,
.eapps-before-after-element {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Fix for the "Before" and "After" labels */
.eapps-before-after-element-label {
    font-family: system-ui, -apple-system, sans-serif !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0 0 0.5rem 0.5rem !important;
    background: rgba(26, 43, 76, 0.8) !important;
    color: white !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

/* Fix divider styling */
.eapps-before-after-element-divider-line {
    width: 2px !important;
    background: var(--color-secondary) !important;
}

.eapps-before-after-element-divider-icon-inner {
    color: var(--color-secondary) !important;
    background: white !important;
    border: 2px solid var(--color-secondary) !important;
}

/* Code for custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 6px;
    border: 3px solid var(--color-background);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Improved selection styling */
::selection {
    background-color: rgba(255, 111, 97, 0.3);
    color: var(--color-text);
}

/* Responsive Media Queries */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .contact-wrapper {
        max-width: calc(100% - 2rem);
        margin: 0 1rem;
    }
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact {
        padding: 8rem 0 6rem;
    }
    
    .contact .section-header {
        margin-bottom: 3rem;
    }
    
    .contact .section-header h2 {
        font-size: 2.5rem;
    }
    
    .contact-info-panel {
        padding: 2.5rem;
    }
    
    .form-panel {
        padding: 2.5rem;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services {
        padding: 5rem 0;
    }
    
    .services .section-header {
        margin-bottom: 3rem;
    }
    
    .services .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .contact {
        padding: 6rem 0 4rem;
    }
    
    .contact .section-header h2 {
        font-size: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-field.full {
        grid-column: 1;
    }
    
    .form-submit {
        grid-column: 1;
    }
    
    .footer {
        padding: 6rem 0 2rem;
    }
    
    .footer::before {
        height: 80px;
        transform: translateY(-79px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .footer-copyright {
        width: 100%;
        text-align: center;
    }
}

/* Center hero text on mobile */
@media (max-width: 767px) {
    .hero-text {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-locations {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .services .section-header h2 {
        font-size: 1.75rem;
    }
    
    .contact-info-panel, .form-panel {
        padding: 2rem 1.5rem;
    }
    
    .contact .section-header p {
        font-size: 1rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .info-item span {
        display: none; /* Hide text on very small screens, show only icons */
    }
    
    .contact-info {
        gap: 0.75rem;
    }
    
    .info-icon {
        width: 16px;
        height: 16px;
    }
}

/* Enhanced Mobile Footer Styles */

/* Tablet adjustments */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 6rem 0 2rem;
    }
    
    .footer::before {
        height: 80px;
        transform: translateY(-79px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1;
    }
    
    /* Center all footer content on mobile */
    .footer-brand, .footer-links-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Center logo after element */
    .footer-logo::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Center column title underlines */
    .footer-links-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Center newsletter form */
    .newsletter-form {
        margin: 0 auto;
        max-width: 300px;
    }
    
    /* Adjust link columns */
    .footer-links {
        align-items: center;
    }
    
    /* Adjust social icons container */
    .social-icons {
        justify-content: center;
    }
    
    /* Improve bottom footer on mobile */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
        width: 100%;
    }
    
    .footer-copyright {
        width: 100%;
        text-align: center;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .footer {
        padding: 5rem 0 1.5rem;
    }
    
    /* More spacing between sections */
    .footer-content {
        gap: 2rem;
    }
    
    /* Smaller text for better fit */
    .footer-link, .footer-legal-link {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        margin-top: 2.5rem;
    }
    
    /* Adjust footer link columns padding */
    .footer-links {
        gap: 0.6rem;
    }
    
    .footer-links-col h3 {
        margin-bottom: 1.25rem;
        font-size: 1rem;
    }
    
    /* Smaller newsletter input for small screens */
    .newsletter-input {
        padding: 0.75rem 1.25rem;
        padding-right: 3rem;
        font-size: 0.9rem;
    }
    
    .newsletter-btn {
        width: 34px;
        height: 34px;
    }
}

.nav-links a.active {
    color: var(--color-secondary);
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-links a.active {
    color: var(--color-secondary);
    background: rgba(255, 111, 97, 0.1);
}

/* Add these dropdown menu styles to your existing styles.css file */

/* Desktop Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--transition-smooth);
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: rgba(26, 43, 76, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--transition-smooth);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-background);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s var(--transition-smooth);
    position: relative;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 1rem;
    background-color: var(--color-secondary);
    transition: width 0.3s var(--transition-smooth);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}

.dropdown-item:hover::after {
    width: calc(100% - 2rem);
}

/* Additional styles to ensure dropdown stays open when hovered */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0.75rem;
    color: var(--color-background);
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

.mobile-dropdown-trigger:hover {
    color: var(--color-accent);
}

.mobile-dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--transition-smooth);
}

.mobile-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--transition-smooth);
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    margin: 0;
    border-radius: 0 0 0.5rem 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 300px; /* Adjust based on content */
}

.mobile-dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    color: var(--color-background);
    text-decoration: none;
    transition: all 0.2s var(--transition-smooth);
    border-radius: 0.375rem;
    border-left: 2px solid transparent;
}

.mobile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    transform: translateX(5px);
    border-left-color: var(--color-secondary);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .dropdown {
        display: none;
    }
}

@media (min-width: 1024px) {
    .mobile-dropdown {
        display: none;
    }
}

/* Improved accessibility for dropdown hover interactions */
@media (hover: hover) {
    .dropdown-menu {
        transform: translateX(-50%) translateY(20px);
    }

    .dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
}

/* Breadcrumb Styling */
.breadcrumb-container {
    background-color: #f9f9f9;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    margin: 0;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--color-secondary);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    display: inline-block;
    padding: 0 0.5rem;
    color: #aaa;
}

.breadcrumb-item.active {
    color: #888;
}

/* For SEO-only breadcrumbs */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}