/* ===================================== */
/* 01. General CSS             */
/* ===================================== */

:root {
    /* Updated Colors for a brighter, glassy theme */
    --primary-light: #ffffff; /* White for light backgrounds */
    --text-dark: #1a1a1a; /* Very dark text for contrast */
    --text-light: #555555; /* Slightly softer dark text */

    /* Vibrant Gradients (adjusted for lighter background elements) */
    /* Navbar Hover/Active Colors (Refined for Professionalism - Lighter, Subtle) */
    --navbar-hover-start: #e0eafc;   /* Very light blue */
    --navbar-hover-end: #cfdef3;     /* Slightly darker light blue */
    --navbar-active-start: #c3e0f9;  /* Light blue for active */
    --navbar-active-end: #a7d9f7;    /* Sky blue for active */

    /* Button Gradient (Updated for Services Section Icon Uniformity) */
    --button-gradient-start: #2a9d8f; /* Teal */
    --button-gradient-end: #264653;   /* Darker blue-green */

    /* Main background gradient for the body */
    --body-bg-gradient-start: #e0f2f7; /* Light blue */
    --body-bg-gradient-end: #d0e8f0;   /* Slightly darker light blue */

    /* Card background and border for glassy effect */
    --card-bg-transparent: rgba(255, 255, 255, 0.4); /* White with transparency */
    --card-border: rgba(255, 255, 255, 0.6); /* White for subtle border */

    /* New colors for Services Section */
    --services-bg-start: #f8faff; /* Very light blue-white */
    --services-bg-end: #ebf5f7; /* Slightly darker light blue-white */
    --services-heading-color: #3f51b5; /* Deeper blue for heading */
    --services-card-bg: rgba(255, 255, 255, 0.85); /* Slightly more opaque white for service cards */
    
    /* Uniform Service Icon Gradient (Refined - will be applied directly to <i>) */
    --service-icon-gradient-color-start: #42a5f5; /* Material Blue 400 */
    --service-icon-gradient-color-end: #1976d2;   /* Material Blue 700 */


    /* Service Card Text Colors */
    --service-heading-text: #333333; /* Darker color for card headings */
    --service-description-text: #666666; /* Slightly lighter dark for descriptions */

    /* Mobile Menu Specific Colors for ApexVisuals style */
    --mobile-menu-backdrop-color: rgba(0, 0, 0, 0.3); /* Darker transparent overlay for background */
    --mobile-menu-card-bg: rgba(255, 255, 255, 0.9); /* Slightly more opaque white for the menu card */
    --mobile-menu-card-border: rgba(255, 255, 255, 0.7); /* Subtle border for glass effect */
    --mobile-menu-text: #333333; /* Dark text for menu items */
    --mobile-menu-link-hover-bg: rgba(0, 0, 0, 0.07); /* Slightly more visible light grey hover */
    --mobile-menu-link-active-bg: rgba(0, 0, 0, 0.1); /* Slightly darker light grey active */

    --mobile-menu-logo-text: #333333; /* Dark text for Apex Visuals logo */

    /* Footer Colors (Professional Look) */
    --footer-bg-start: #e0f2f7; /* Light blue start for footer gradient */
    --footer-bg-end: #c0e0f0;   /* Slightly darker blue end for footer gradient */
    --footer-text: #333333; /* Darker text for footer content */
    --footer-link: #3a7ca5; /* Medium blue for footer links */
    --footer-link-hover: #2a9d8f; /* Teal for footer link hover (matching service icon) */
    --footer-heading-color: #1a1a1a; /* Very dark heading for footer */
    --footer-heading-gradient-start: #007bff; /* Blue gradient start for headings */
    --footer-heading-gradient-end: #00c6ff; /* Lighter blue gradient end for headings */
    --footer-social-icon-color: #555555; /* Default social icon color */
    --footer-social-icon-hover-gradient-start: #42a5f5; /* Blue gradient for social icons */
    --footer-social-icon-hover-gradient-end: #1976d2;   /* Darker blue gradient for social icons */
}

/* Universal box-sizing for easier layout control */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif; /* Using Inter font */
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    /* Applying the light gradient background to the body */
    background: linear-gradient(135deg, var(--body-bg-gradient-start), var(--body-bg-gradient-end));
    min-height: 100vh; /* Ensures gradient covers full viewport height */
    display: flex;
    flex-direction: column; /* For sticky footer */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Blur effect applied to non-header, non-menu content when menu is open */
body.menu-open > *:not(.main-header):not(.main-nav) {
    filter: blur(5px);
    transition: filter 0.4s ease-in-out; /* Smooth transition for blur */
    pointer-events: none; /* Disables interaction with blurred content */
}

/* Keep header content clickable even when menu is open */
body.menu-open .main-header .container {
    pointer-events: auto;
}

/* Global container for consistent content width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Rounded corners for images */
}

/* Remove underline from links and set color to inherit */
a {
    text-decoration: none;
    color: inherit;
}

/* Style for business name in place of logo */
.business-name {
    font-size: 1.8em; /* Adjust font size as needed */
    font-weight: 700; /* Bold font */
    color: var(--text-dark); /* Dark color for the name */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* ===================================== */
/* 02. Header & Navbar CSS     */
/* ===================================== */

.main-header {
    background: transparent; /* Make header background transparent to let body gradient show */
    color: var(--text-dark);
    padding: 20px 0; /* More padding for a taller header */
    position: fixed; /* Make navbar stick to top */
    width: 100%; /* Ensure it spans full width */
    top: 0; /* Align to top */
    left: 0; /* Align to left */
    z-index: 1002;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: var(--card-bg-transparent); /* Semi-transparent background for the navbar area */
    backdrop-filter: blur(10px); /* Glassmorphism blur effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support for blur */
    border: 1px solid var(--card-border); /* Subtle border */
    border-radius: 50px; /* Highly curved edges */
    padding: 10px 30px; /* Padding inside the curved container */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15); /* More prominent, diffused shadow */
    margin-top: 20px; /* Space from top */
}

/* Hide the logo img element on desktop */
.logo img {
    display: none;
}
/* Ensure business name is visible on desktop */
.logo .business-name {
    display: block;
}

/* Desktop Navigation Specific Styles (visible by default) */
.desktop-nav {
    display: flex; /* Always display on desktop */
    flex-grow: 1;
    justify-content: flex-end;
    align-items: center;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 20px; /* Spacing between navigation items */
    flex-wrap: wrap;
    justify-content: center;
}

.desktop-nav a {
    font-size: 1.0em;
    padding: 8px 18px; /* Padding for nav items */
    border-radius: 30px; /* Pill-shaped buttons */
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 500;
    color: var(--text-dark); /* Dark text on light nav */
    border: 1px solid transparent; /* Placeholder for border on hover */
}

/* Desktop Navbar Hover Effect (Professional Gradient - Lighter, Subtle) */
.desktop-nav a:hover {
    background: linear-gradient(to right, var(--navbar-hover-start), var(--navbar-hover-end));
    color: var(--text-dark); /* Keep text dark on light hover background */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Class "active" in Navbar (Lighter, Subtle for active state) */
.desktop-nav a.active {
    background: linear-gradient(to right, var(--navbar-active-start), var(--navbar-active-end));
    color: var(--text-dark); /* Keep text dark on light active background */
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mobile menu toggle button (hidden by default on large screens) */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--text-dark); /* Dark icon on light background */
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05); /* Subtle hover for toggle */
}

/* Mobile Navigation (full-screen overlay) - hidden by default on large screens */
.main-nav {
    display: none; /* Hidden by default on desktop */
}

/* Hide mobile-specific elements on desktop that are part of the main-nav structure */
.menu-close, .mobile-menu-card {
    display: none;
}

@media (max-width: 768px) {
    .main-header .container {
        padding: 6px 24px; /* Reduced padding (original was 10px 30px) */
        margin-top: 12px;   /* Reduced margin (original was 20px) */
    }

    .main-header {
        padding: 12px 0; /* Reduced top/bottom spacing (original was 20px 0) */
    }
}


/* ===================================== */
/* 03. Index Page CSS          */
/* ===================================== */

/* Added padding top to main content to account for fixed header */
main {
    padding-top: 100px; /* Adjust based on your header height */
}

.hero-section {
    text-align: center;
    padding: 100px 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* Subtle background treatment */
    background: var(--card-bg-transparent); /* Semi-transparent background */
    backdrop-filter: blur(8px); /* Subtle blur for the section */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-radius: 25px; /* Rounded corners */
    margin: 40px auto;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15); /* Glassmorphism shadow */
    max-width: 1000px;
    /* Hero Section Enhancements */
    position: relative;
    overflow: hidden; /* Hide overflow from pseudo-elements */
}

/* Pseudo-elements for abstract shapes/effects in hero section */
.hero-section::before, .hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.2; /* Subtle opacity */
    filter: blur(30px); /* Soft blur effect */
    z-index: -1; /* Behind content */
}

.hero-section::before {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #a7d9f7, #6dd5ed); /* Light blue gradient */
    top: -50px;
    left: -50px;
}

.hero-section::after {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #feb47b, #ff7e5f); /* Peach gradient */
    bottom: -70px;
    right: -70px;
    animation: pulse 4s infinite alternate; /* Gentle pulsating animation */
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.05); opacity: 0.3; }
}


.hero-section h1 {
    font-size: 4em;
    margin-bottom: 25px;
    color: var(--text-dark); /* Dark text on light background */
    letter-spacing: -2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 50px;
    max-width: 800px;
    color: var(--text-light); /* Softer dark text */
    font-weight: 300;
}

/* Removed Movable Gradient Button */
.gradient-button {
    display: none; /* Hide the button as requested */
}


/* ===================================== */
/* 04. Services Section CSS    */
/* ===================================== */


.services-section {
    padding: 80px 20px;
    text-align: center;
    /* New background for services section */
    background: linear-gradient(135deg, var(--services-bg-start), var(--services-bg-end));
    border: 1px solid var(--card-border); /* Retain subtle border */
    border-radius: 25px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    color: var(--text-dark); /* Default text color for this section */
    
    /* Initial hidden state for scroll animation */
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Smooth transition */
}

.services-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}


.services-section h2 {
    font-size: 3.5em;
    color: var(--services-heading-color); /* New color for heading */
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    text-shadow: none; /* Remove text shadow */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 per row */
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.service-card {
    background: var(--services-card-bg); /* More opaque white background for cards */
    backdrop-filter: blur(5px); /* Card specific blur */
    -webkit-backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Adjusted shadow for professional look */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle border for cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 320px; /* Keeps uniform size */
}

/* Service card subtle glow on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(100, 200, 255, 0.08), transparent 70%); /* Slightly more visible glow */
    opacity: 0;
    transform: rotate(0deg);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
    transform: rotate(20deg);
}

.service-card .icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    /* Removed box-shadow here to avoid double shadow with the icon's own shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    /* Background for the circle behind the icon */
    background: #e0f2f7; /* Solid light background for the circle */
}

/* Ensure individual nth-child icon wrapper gradients are removed */
.services-grid .service-card:nth-child(1) .icon-wrapper,
.services-grid .service-card:nth-child(2) .icon-wrapper,
.services-grid .service-card:nth-child(3) .icon-wrapper,
.services-grid .service-card:nth-child(4) .icon-wrapper {
    background: #e0f2f7; /* Keep solid background for circle */
}


.service-card:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
}

.service-card .icon-wrapper i {
    font-size: 2.5em;
    /* Apply gradient to the icon itself */
    background: linear-gradient(45deg, var(--service-icon-gradient-color-start), var(--service-icon-gradient-color-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for browsers not supporting background-clip */
}

.service-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px; /* Reduced margin to bring description closer */
    color: var(--service-heading-text); /* Darker color for card headings */
    text-shadow: none; /* Remove text shadow */
    font-weight: 600; /* Make heading bold */
    z-index: 1;
}

.service-card p {
    font-size: 0.95em; /* Slightly smaller font for description */
    color: var(--service-description-text); /* Softer text color for description */
    line-height: 1.7; /* Adjusted line height */
    z-index: 1;
}

/* Service Card Hover Effect Enhancements */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(66, 165, 245, 0.3); /* Stronger shadow, blue glow */
    border: 1px solid rgba(66, 165, 245, 0.5); /* Blue border on hover */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================== */
/* 05. Footer CSS (Professional Enhancements) */
/* ===================================== */

footer {
    background: linear-gradient(135deg, var(--footer-bg-start), var(--footer-bg-end)); /* Gradient background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--footer-text);
    text-align: center;
    padding: 60px 0 30px; /* More padding top/bottom for a substantial feel */
    margin-top: 80px; /* More space from services section */
    border-top-left-radius: 25px; /* Slightly more rounded corners */
    border-top-right-radius: 25px;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.15); /* Stronger shadow from bottom */
    font-size: 1em; /* Base font size for footer */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 50px; /* Increased gap for better spacing */
    text-align: left;
    padding-bottom: 40px; /* More padding below links before separator */
    border-bottom: 1px solid rgba(0, 0, 0, 0.15); /* More prominent separator */
    margin-bottom: 30px; /* More space before copyright */
}

.footer-links-group h3, .footer-social h3 {
    font-size: 1.3em; /* Larger, bolder headings */
    font-weight: 800; /* Extra bold */
    margin-bottom: 25px; /* More space below heading */
    
    /* Gradient text for headings */
    background: linear-gradient(45deg, var(--footer-heading-gradient-start), var(--footer-heading-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for browsers not supporting background-clip */
    display: inline-block; /* Essential for background-clip to work */
}

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

.footer-links-group ul li {
    margin-bottom: 15px; /* Increased spacing between list items */
}

.footer-links-group a {
    color: var(--footer-link);
    transition: all 0.3s ease; /* Smooth transition for all properties */
    position: relative;
    padding-bottom: 2px; /* Space for underline effect */
    font-weight: 500; /* Slightly bolder for links */
}

.footer-links-group a:hover {
    color: var(--footer-link-hover);
    transform: translateX(8px); /* More noticeable slide effect */
    text-decoration: none; /* Ensure no default underline */
}

/* Professional underline hover effect */
.footer-links-group a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--footer-link-hover), var(--footer-link)); /* Gradient underline */
    transition: width 0.3s ease-out;
}

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


.social-icons {
    display: flex;
    gap: 25px; /* Increased gap for social icons */
    margin-top: 15px;
    justify-content: center;
}

.social-icons a {
    color: var(--footer-social-icon-color); /* Default dark icons */
    font-size: 2em; /* Larger icons */
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
    /* Apply gradient to social icons on hover */
    background: linear-gradient(45deg, var(--footer-social-icon-hover-gradient-start), var(--footer-social-icon-hover-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
    transform: translateY(-5px) scale(1.15); /* More prominent lift and grow effect */
    text-shadow: 0 0 10px rgba(66, 165, 245, 0.5); /* Stronger blue glow */
}

.copyright {
    text-align: center;
    font-size: 0.95em; /* Slightly larger copyright font */
    color: var(--footer-text);
    padding-top: 10px;
    font-weight: 400; /* Normal weight for copyright */
}

@media (max-width: 768px) {
    .footer-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
      padding: 20px;
      gap: 20px;
      text-align: left;
    }
  
    .footer-links-group,
    .footer-social {
      flex: 1 1 45%;
      min-width: 160px;
    }
  
    .footer-links-group ul,
    .footer-social ul {
      margin: 0;
      padding: 0;
    }
  
    .social-icons {
      justify-content: flex-start;
      margin-top: 10px;
      gap: 20px;
    }
  
    footer {
      padding: 40px 0 20px;
    }
  
    .copyright {
      text-align: center;
      margin-top: 20px;
      padding: 0 15px;
      font-size: 0.9em;
    }
  }
  

/* ===================================== */
/* 06. Responsive Design & Mobile Nav */
/* ===================================== */

@media (max-width: 768px) {
    /* Styles for the main content when menu is open */
    body.menu-open > *:not(.main-header):not(.main-nav) {
        filter: blur(5px);
        pointer-events: none; /* Disables interaction with blurred content */
    }

    /* Keep header content clickable even when menu is open */
    body.menu-open .main-header .container {
        pointer-events: auto;
    }

    /* Show hamburger icon ONLY on mobile */
    .menu-toggle {
        display: block; /* Show on mobile */
        z-index: 1003; /* Ensure it's above the main-nav */
    }

    /* Hide desktop nav on mobile */
    .desktop-nav {
        display: none;
    }

    /* Full-screen overlay for mobile menu - show only on mobile */
    .main-nav {
        display: flex; /* Show on mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        /* Background is transparent to let the blur effect of the main-menu-card show through */
        background-color: transparent; 
        z-index: 1001;
        flex-direction: column;
        justify-content: center; /* Center the card vertically */
        align-items: center; /* Center the card horizontally */
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out;
        visibility: hidden;
        opacity: 0;
        transition: transform 0.4s ease-in-out, visibility 0.4s ease-in-out, opacity 0.4s ease-in-out;
        /* No backdrop-filter here, it's on the inner card */
        overflow-y: hidden;
        /* Add a subtle overlay color to the transparent background, matching the overall app blur */
        background-color: var(--mobile-menu-backdrop-color); /* Semi-transparent dark overlay */
    }

    .main-nav.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    /* Mobile Menu Card - the actual "floating" menu */
    .mobile-menu-card {
        display: flex; /* Ensure it's displayed on mobile */
        background: var(--mobile-menu-card-bg); /* Semi-transparent white background */
        backdrop-filter: blur(20px); /* Stronger blur for the glass effect on the card */
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--mobile-menu-card-border); /* Subtle border for glass effect */
        border-radius: 15px; /* Rounded corners for the card */
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
        width: 90%; /* Take 90% of screen width */
        max-width: 400px; /* Max width for larger screens */
        padding: 20px 0; /* Vertical padding, horizontal padding done by inner elements */
        flex-direction: column;
        justify-content: flex-start; /* Align contents to start within the card */
        align-items: center; /* Center items horizontally within the card */
        max-height: 90vh; /* Ensure card fits within viewport height */
        overflow-y: auto; /* Allow scrolling within the card if content overflows */
    }


    /* Close button - now part of the .main-nav parent directly for absolute positioning */
    .menu-close {
        display: block;
        position: absolute; /* Relative to .main-nav */
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.8em; /* Slightly smaller 'X' icon */
        color: var(--mobile-menu-text); /* Dark color for 'X' icon */
        cursor: pointer;
        z-index: 1002; /* Ensure it's above the card content */
        padding: 5px; /* Reduced padding for smaller icon */
    }

    .menu-close:hover {
        background-color: rgba(0, 0, 0, 0.05); /* Subtle hover for close button */
        border-radius: 5px;
    }

    /* Mobile Menu Logo - "Apex Visuals" branding */
    .mobile-menu-logo {
        display: flex; /* Use flex to align icon and text */
        align-items: center;
        gap: 8px; /* Space between icon and text */
        margin-bottom: 25px; /* Space below the logo */
        color: var(--mobile-menu-logo-text); /* Dark text color */
        font-size: 1.8em; /* Larger font for logo text */
        font-weight: 600;
    }
    /* Removed specific icon styling if not used for "Apex Visuals" */
    .mobile-menu-logo i {
        display: none; /* Hide the 'R' icon for Apex Visuals */
    }

    .mobile-menu-logo .business-name-mobile {
        font-size: 1em; /* Relative to parent .mobile-menu-logo */
        color: var(--mobile-menu-logo-text);
        text-shadow: none;
    }

    /* Mobile Navigation List */
    .main-nav ul {
        list-style: none;
        flex-direction: column;
        align-items: flex-start; /* Align links to the left within the card */
        width: 100%;
        padding: 0 20px; /* Horizontal padding for the list */
        margin-top: 0;
        margin-bottom: 25px; /* Space before bottom section */
        display: flex;
        flex-grow: 1; /* Allow ul to take available space */
    }

    .main-nav ul li {
        width: 100%; /* Full width within its parent (.main-nav ul) */
        text-align: left; /* Align text to the left */
        padding: 12px 0; /* Vertical padding for list items */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Subtle divider */
        display: flex; /* Use flex for link and chevron alignment */
        justify-content: space-between; /* Space out link and chevron */
        align-items: center;
    }

    .main-nav ul li:last-child {
        border-bottom: none; /* No border on last item */
    }


    .mobile-nav-link { /* Specific class for mobile nav links */
        display: block;
        flex-grow: 1; /* Allow link to take available space */
        padding: 0; /* Remove internal padding from anchor, already handled by li */
        font-size: 1.1em; /* Adjusted font size */
        color: var(--mobile-menu-text); /* Dark text for inactive options */
        border-radius: 0; /* Remove border-radius */
        box-shadow: none; /* Remove box-shadow */
        font-weight: 400; /* Regular font weight */
        transition: color 0.3s ease;
    }
    
    /* Mobile nav hover effect */
    .mobile-nav-link:hover {
        background: none; /* No background on hover */
        color: var(--mobile-menu-link-hover-bg); /* Use color change for hover effect */
        transform: none;
        box-shadow: none;
    }

    /* Mobile nav active effect (simulating Craft's subtle selected state) */
    .mobile-nav-link.active {
        background: var(--mobile-menu-link-active-bg); /* Subtle background for active */
        color: var(--mobile-menu-text); /* Keep text dark */
        font-weight: 500; /* Slightly bolder for active */
        border-radius: 5px; /* Subtle rounded corners for active item background */
        padding: 5px 10px; /* Small padding for the background effect */
    }

    /* Chevron icons in mobile menu */
    .mobile-menu-chevron {
        display: none; /* Hide chevron icons as per simplified menu */
    }

    /* Bottom section of the mobile menu */
    .mobile-menu-bottom-section {
        width: 100%;
        padding: 0; /* Remove padding as content is removed */
        display: none; /* Hide this section as content is removed */
    }


    /* Adjust main content padding for mobile to allow header to be fixed */
    main {
        padding-top: 100px;
    }

    .hero-section {
        padding: 60px 20px;
        margin: 20px auto;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    /* Gradient button remains hidden on mobile too, as per overall request */
    .gradient-button {
        display: none;
    }

    /* Services Section on mobile */
    .services-section {
        padding: 50px 20px;
        margin: 20px auto;
    }

    .services-section h2 {
        font-size: 2.5em;
        margin-bottom: 40px;
    }

    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px;
    }

    .service-card .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .service-card .icon-wrapper i {
        font-size: 2em;
    }

    .service-card h3 {
        font-size: 1.5em;
    }

    /* Footer Responsive Styles */
    footer .footer-content {
        grid-template-columns: 1fr; /* Stack footer sections vertically */
        text-align: center;
    }

    footer .footer-links-group h3, footer .footer-social h3 {
        margin-top: 20px; /* Add some space between stacked headings */
    }

    footer .social-icons {
        justify-content: center; /* Center social icons */
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 0.9em;
    }

    .mobile-menu-logo {
        margin-bottom: 20px;
    }
    .main-nav ul {
        gap: 10px;
        margin-bottom: 20px;
    }
}


/* service.html css*/


/* ===================================== */
/* 01. Page-Specific Color Variables   */
/* ===================================== */
:root {
    /* Updated Page Hero Colors for a more vibrant look, now aligning with overall page background */
    --page-hero-bg-start: #f8f9fa; /* Very light, almost white */
    --page-hero-bg-end: #e9ecef;   /* Slightly off-white */
    --page-hero-text-dark: #1a1a1a; /* Dark text for hero heading */
    --page-hero-text-light: #333333; /* Slightly darker text for hero paragraph */

    /* Adjusted section backgrounds to blend with the new overall page background */
    --provide-section-bg-start: #ffffff; /* Pure white for section background */
    --provide-section-bg-end: #f8f9fa;   /* Very light grey for section background */
    --button-section-bg-start: transparent; /* Button section remains transparent */
    --button-section-bg-end: transparent;   /* Button section remains transparent */


    --card-hover-bg-start: #e0f2f7; /* Light blue for card hover */
    --card-hover-bg-end: #d1ecf1;   /* Slightly darker light blue for card hover */
    --card-hover-border: #a8d9ed;   /* Border for card hover */

    --provide-icon-bg: #42a5f5; /* Base blue for icon circle background */
    --provide-icon-color: #ffffff; /* White for icons */

    /* "View Projects" Button Colors and Hover (Continuous Animation & Green/Blue Hover) */
    /* Base Gradient for continuous animation (Blue/Purple blend) */
    --view-projects-button-bg-start-animated: #4A00E0;   /* Deep Violet */
    --view-projects-button-bg-mid-animated: #8E2DE2;     /* Amethyst */
    --view-projects-button-bg-end-animated: #4B6CB7;     /* Muted Blue */
    
    /* Hover Gradient (Green/Blue combination) */
    --view-projects-button-bg-start-hover: #2ecc71;   /* Emerald Green */
    --view-projects-button-bg-mid-hover: #3498db;     /* Bright Blue */
    --view-projects-button-bg-end-hover: #1abc9c;     /* Turquoise */
    
    --view-projects-button-text: #ffffff;       /* White text for button */
    
    /* Shadow for default state (subtle) */
    --view-projects-button-shadow-default: rgba(74, 0, 224, 0.3); 
    /* Shadow for hover state (prominent, based on hover colors) */
    --view-projects-button-shadow-hover: rgba(52, 152, 219, 0.6); 
}

/* Universal box-sizing for easier layout control */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Note: The 'body' styles below are typically in style.css.
   They are included here for completeness of context for this page,
   but ensure no duplication if style.css already defines them. */
body {
    font-family: 'Inter', sans-serif; /* Using Inter font */
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    /* Applying the light gradient background to the body */
    background: linear-gradient(135deg, var(--body-bg-gradient-start), var(--body-bg-gradient-end));
    min-height: 100vh; /* Ensures gradient covers full viewport height */
    display: flex;
    flex-direction: column; /* For sticky footer */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Blur effect applied to non-header, non-menu content when menu is open */
body.menu-open > *:not(.main-header):not(.main-nav) {
    filter: blur(5px);
    transition: filter 0.4s ease-in-out; /* Smooth transition for blur */
    pointer-events: none; /* Disables interaction with blurred content */
}

/* Keep header content clickable even when menu is open */
body.menu-open .main-header .container {
    pointer-events: auto;
}

/* Global container for consistent content width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Rounded corners for images */
}

/* Remove underline from links and set color to inherit */
a {
    text-decoration: none;
    color: inherit;
}

/* Style for business name in place of logo */
.business-name {
    font-size: 1.8em; /* Adjust font size as needed */
    font-weight: 700; /* Bold font */
    color: var(--text-dark); /* Dark color for the name */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* ===================================== */
/* 02. Page Hero Section Styles        */
/* ===================================== */
.page-hero {
    text-align: center;
    padding: 120px 20px 80px; /* Adjust padding for spacing below fixed header */
    /* Updated background to align with the desired page background */
    background: linear-gradient(135deg, var(--page-hero-bg-start), var(--page-hero-bg-end));
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); /* Slightly less prominent shadow for overall light feel */
    margin: 20px auto 40px; /* Margin below header, above next section */
    max-width: 1200px;
    position: relative; /* For pseudo-elements */
    overflow: hidden; /* Ensures shapes are clipped */
}

/* Enhancements for .page-hero for visual interest */
.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.3; /* Increased opacity for more presence */
    filter: blur(40px); /* More blur for softness */
    z-index: -1;
    animation: floatingBubbles 10s infinite ease-in-out alternate; /* Animation for subtle movement */
}

.page-hero::before {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold/Orange gradient */
    top: -80px;
    left: -80px;
}

.page-hero::after {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8A2BE2, #4B0082); /* Purple/Indigo gradient */
    bottom: -100px;
    right: -100px;
    animation-delay: 2s; /* Stagger animation */
}

@keyframes floatingBubbles {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(20px, -20px) scale(1.05); opacity: 0.4; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
}


.page-hero h1 {
    font-size: 4.5em; /* Larger font size */
    color: var(--page-hero-text-dark); /* Dark text for hero heading */
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1); /* More pronounced shadow */
    font-weight: 800; /* Extra bold */
}

.page-hero p {
    font-size: 1.5em; /* Larger paragraph font size */
    color: var(--page-hero-text-light); /* Slightly softer dark text */
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400; /* Normal weight */
}

/* ===================================== */
/* 03. "We Provide" Section Styles     */
/* ===================================== */
.we-provide-section {
    padding: 80px 20px;
    text-align: center;
    /* Updated background to be pure white/off-white */
    background: linear-gradient(135deg, var(--provide-section-bg-start), var(--provide-section-bg-end));
    border-radius: 25px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); /* Slightly lighter shadow */
    color: var(--text-dark);
}

.we-provide-section h2 {
    font-size: 3.5em;
    color: var(--services-heading-color); /* Reusing general heading color for consistency */
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    text-shadow: none;
}

.provide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.provide-card {
    background: var(--card-bg-transparent); /* Reuse general transparent card background */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Lighter shadow for cards */
    border: 1px solid rgba(0, 0, 0, 0.03); /* Even more subtle border */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.provide-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, var(--card-hover-bg-start), var(--card-hover-bg-end));
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(170, 210, 240, 0.4); /* Softer blue glow */
    border: 1px solid var(--card-hover-border);
}

.provide-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    background: var(--provide-icon-bg); /* Solid blue background for icon circle */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.provide-card:hover .provide-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(66, 165, 245, 0.4); /* Blue glow on hover */
}

.provide-icon-wrapper i {
    font-size: 2.5em;
    color: var(--provide-icon-color); /* White color for the icon itself */
}

.provide-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--service-heading-text); /* Reusing dark text for consistency */
    font-weight: 600;
}

.provide-card p {
    font-size: 0.95em;
    color: var(--service-description-text); /* Reusing softer dark text for consistency */
    line-height: 1.7;
}

/* ===================================== */
/* 04. "View Projects" Button Styling  */
/* ===================================== */

.view-projects-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto 100px;
    padding: 0;
    max-width: 100%;
    text-align: center;
}

/* Glass Button Default */
.view-projects-button {
    background: rgba(255, 255, 255, 0.2); /* Light glass look */
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #111111; /* Black text */
    padding: 16px 36px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

/* Hover State */
.view-projects-button:hover {
    background: rgba(20, 20, 20, 0.4); /* Darker glass */
    color: #f9f9f9; /* White/off-white text */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
}





/* ===================================== */
/* 05. Responsive Adjustments          */
/* ===================================== */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 20px 60px;
        margin: 15px auto 30px;
    }

    .page-hero h1 {
        font-size: 3em;
    }

    .page-hero p {
        font-size: 1.1em;
    }

    .we-provide-section {
        padding: 50px 20px;
        margin: 30px auto;
    }

    .we-provide-section h2 {
        font-size: 2.8em;
        margin-bottom: 40px;
    }

    .provide-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 25px;
    }

    .provide-card {
        padding: 25px;
    }

    .provide-card h3 {
        font-size: 1.6em;
    }

    .provide-card p {
        font-size: 0.9em;
    }

    .view-projects-section {
        padding: 0; /* No padding */
        margin: 30px auto 60px; /* Adjust margin */
    }

    .view-projects-button {
        padding: 15px 30px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2.5em;
    }

    .page-hero p {
        font-size: 1em;
    }

    .we-provide-section h2 {
        font-size: 2.2em;
    }

    .provide-card h3 {
        font-size: 1.4em;
    }
}





/* contact.html*/

/* ===================================== */
/* 01. Page-Specific Color Variables   */
/* ===================================== */
:root {
    --contact-bg-start: #e0f2f7; /* Light blue, matching body-bg-gradient-start from style.css */
    --contact-bg-end: #d0e8f0;   /* Slightly darker light blue, matching body-bg-gradient-end */

    --contact-section-bg: rgba(255, 255, 255, 0.9); /* Opaque white for sections */
    --contact-section-border: rgba(0, 0, 0, 0.05); /* Very subtle border for sections */
    --contact-section-shadow: rgba(0, 0, 0, 0.1); /* Soft shadow for sections */

    --glass-logo-bg: rgba(255, 255, 255, 0.4); /* Transparent white for glass effect */
    --glass-logo-border: rgba(255, 255, 255, 0.6); /* Subtle white border */
    --glass-logo-shadow: rgba(0, 0, 0, 0.15); /* Soft shadow for glass */
    /* --glass-logo-text: #1a1a1a; Removed as text is replaced by image */

    --heading-color: #3f51b5; /* Deeper blue for headings */
    --text-color: #333333; /* Standard dark text */
    --link-color: #3a7ca5; /* Medium blue for links */
    --link-hover-color: #2a9d8f; /* Teal for link hover */

    /* WhatsApp Button Colors */
    --whatsapp-button-bg: linear-gradient(45deg, #25D366, #128C7E); /* WhatsApp green gradient */
    --whatsapp-button-text: #ffffff;
    --whatsapp-button-shadow: rgba(37, 211, 102, 0.4); /* Green shadow */
    --whatsapp-button-hover-shadow: rgba(18, 140, 126, 0.6); /* Darker green shadow on hover */

    /* Social Media Icons */
    --social-icon-default-color: #88c7e0; /* Light blue, blending with site theme */
    --social-icon-hover-transition: all 0.3s ease;

    /* Brand Colors for Hover */
    --instagram-start: #feda75;
    --instagram-mid1: #fa7e1e;
    --instagram-mid2: #d62976;
    --instagram-end: #962fbf;
    --facebook-color: #1877f2;
    --linkedin-color: #0a66c2;
}

/* ===================================== */
/* 02. Page Hero Section Styles        */
/* ===================================== */
.contact-hero-section {
    padding: 120px 20px 80px; /* Adjust padding for fixed header */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    margin: 20px auto 40px;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.contact-hero-content {
    display: flex;
    flex-direction: row; /* Default to row on desktop */
    align-items: center;
    gap: 40px; /* Space between logo and text */
    justify-content: center;
}

.glass-logo-container {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 10px 30px var(--glass-logo-shadow); }
    100% { transform: scale(1.02); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); }
}

/* Removed .glass-logo-circle .logo-text styling as it's replaced by an image */
/* .glass-logo-circle .logo-text {
    font-size: 4em;
    font-weight: 800;
    color: var(--glass-logo-text);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
} */

/* New style for the logo image inside the glass circle */
.glass-logo-circle .logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease; /* Smooth transition for image */
}



.glass-logo-circle {
    /* Your existing styles */
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 5px;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.glass-logo-circle:hover {
    transform: scale(1.1); /* Enlarges by 10% */
    box-shadow: 0 0 25px rgba(100, 181, 246, 0.7); /* Light blue shadow */
    border-color: rgba(100, 181, 246, 0.8); /* Optional: change border color */
}

.glass-logo-circle::after {
    content: '';
    position: absolute;
    width: 96%;
    height: 96%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.introduction-text {
    flex-grow: 1; /* Allow text to take remaining space */
    text-align: left;
}


@media (max-width: 768px) {
    .contact-hero-content {
      flex-direction: column; /* Stack logo and text vertically */
      align-items: center;
      text-align: center;
      gap: 30px;
    }
  
    .glass-logo-container {
      width: 150px;
      height: 150px;
    }
  
    .glass-logo-circle {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      background: transparent;
      border: 2px solid rgba(255, 255, 255, 0.9);
      box-shadow: 0 0 25px rgba(100, 181, 246, 0.8); /* Same glow as desktop */
      padding: 5px;
      position: relative;
    }
  
    .glass-logo-circle::after {
      content: '';
      position: absolute;
      width: 96%;
      height: 96%;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.6);
      pointer-events: none;
    }
  
    .glass-logo-circle .logo-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 50%;
    }
  
    .introduction-text {
      padding: 0 20px;
    }
  
    .introduction-text h1 {
      font-size: 1.6em;
    }
  
    .introduction-text p {
      font-size: 1em;
      line-height: 1.5;
    }
  }
  @media screen and (max-width: 768px) {
    .glass-logo-circle .logo-image {
      transform: scale(1.4); /* Zoom only on mobile */
    }
  }  
  

.introduction-text h1 {
    font-size: 3.5em;
    color: var(--heading-color);
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.introduction-text p {
    font-size: 1.1em;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 600px;
}

/* ===================================== */
/* *. form section Section         */
/* ===================================== */

/* Center the form section */
.form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Form card styling */
.form-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

/* Close button */
.close-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
}

.close-button:hover {
    color: #444;
}

/* Input group */
.input-group {
    position: relative;
    margin-bottom: 1.75rem;
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 2.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    background-color: #f9f9f9;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #457b9d;
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.2);
    background-color: #ffffff;
}

/* Floating labels */
.floating-label {
    position: absolute;
    left: 2.75rem;
    top: 0.75rem;
    color: #888;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-field:focus + .floating-label,
.input-field:not(:placeholder-shown) + .floating-label {
    top: -1.25rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: #457b9d;
    background-color: #ffffff;
    padding: 0 0.25rem;
    border-radius: 0.25rem;
}

/* Icons */
.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a8dadc;
    z-index: 1;
}

/* Submit button */
.submit-button {
    background: linear-gradient(45deg, #457b9d, #a8dadc);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(69, 123, 157, 0.3);
}

.submit-button:hover {
    box-shadow: 0 10px 20px rgba(69, 123, 157, 0.4);
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: linear-gradient(45deg, #778899, #b0c4de);
    box-shadow: none;
    transform: none;
}

/* Message Box */
.message-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    max-width: 90%;
}

.message-box p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.message-box button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.message-box button:hover {
    background-color: #45a049;
}



/* ===================================== */
/* 03. Contact Details Section         */
/* ===================================== */
.contact-details-section {
    padding: 60px 20px;
    background: var(--contact-section-bg);
    border-radius: 25px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 5px 20px var(--contact-section-shadow);
    border: 1px solid var(--contact-section-border);
    text-align: center; /* Center children initially */
}

.contact-details-section h2 {
    font-size: 2.8em;
    color: var(--heading-color);
    margin-bottom: 40px;
    text-shadow: none;
}

.contact-info {
    margin-bottom: 40px;
}

.email-info {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    gap: 10px;
    font-weight: 500;
}

.email-info i {
    color: var(--link-color);
    font-size: 1.4em;
}

.email-info a {
    color: var(--link-color);
    transition: color 0.3s ease;
}

.email-info a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    color: #25D366; /* WhatsApp green text */
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 600;
    border: 2px solid #25D366;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    min-width: 160px;
}


.whatsapp-button:hover {
    background: #25D366; /* Green background */
    color: white; /* White text */
    border-color: #25D366;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
}

.whatsapp-button i {
    color: inherit; /* Inherits text color */
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.whatsapp-button:hover i {
    color: #128C7E; /* Darker green on hover */
}

/* ===================================== */
/* 04. Social Media Section            */
/* ===================================== */
.social-media-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08); /* Separator */
}

.social-media-section h3 {
    font-size: 1.8em;
    color: var(--heading-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.social-media-section .social-icons {
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between icons */
}

.social-media-section .social-icons a {
    font-size: 2.5em; /* Larger icons */
    color: var(--social-icon-default-color); /* Default light blue */
    transition: var(--social-icon-hover-transition);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-media-section .social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Specific Hover Colors for Social Icons */
.social-media-section .social-icons a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, var(--instagram-start) 0%, var(--instagram-mid1) 5%, var(--instagram-mid2) 45%, var(--instagram-end) 60%, #5851db 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
}

.social-media-section .social-icons a.facebook:hover {
    color: var(--facebook-color);
}

.social-media-section .social-icons a.linkedin:hover {
    color: var(--linkedin-color);
}

/* ===================================== */
/* 05. Responsive Adjustments          */
/* ===================================== */
@media (max-width: 768px) {
    .contact-hero-section {
        padding: 100px 20px 60px;
        margin: 15px auto 30px;
    }

    .contact-hero-content {
        flex-direction: column; /* Stack logo and text vertically on mobile */
        text-align: center;
        gap: 30px;
    }

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

    .introduction-text h1 {
        font-size: 2.8em;
    }

    .introduction-text p {
        font-size: 1em;
    }

    .glass-logo-container {
        width: 150px;
        height: 150px;
    }

    /* Removed .glass-logo-circle .logo-text for responsiveness */
    /* .glass-logo-circle .logo-text {
        font-size: 3em;
    } */

    .glass-logo-circle .logo-image {
        max-width: 80%; /* Ensure image scales down */
        max-height: 80%;
    }

    .contact-details-section {
        padding: 40px 20px;
        margin: 30px auto;
    }

    .contact-details-section h2 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }

    .email-info {
        font-size: 1.1em;
        flex-direction: column; /* Stack email icon and text */
        gap: 5px;
    }
    .email-info i {
        margin-bottom: 5px;
    }

    .whatsapp-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .social-media-section h3 {
        font-size: 1.5em;
        margin-bottom: 25px;
    }

    .social-media-section .social-icons {
        gap: 20px;
    }

    .social-media-section .social-icons a {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .contact-hero-section h1 {
        font-size: 2.2em;
    }

    .glass-logo-container {
        width: 120px;
        height: 120px;
    }

    /* Removed .glass-logo-circle .logo-text for responsiveness */
    /* .glass-logo-circle .logo-text {
        font-size: 2.5em;
    } */

    .glass-logo-circle .logo-image {
        max-width: 70%; /* Adjust for smaller screens */
        max-height: 70%;
    }

    .contact-details-section h2 {
        font-size: 1.8em;
    }

    .whatsapp-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .social-media-section .social-icons a {
        font-size: 1.8em;
    }
}









/* ===================================== */
/* 01. Page-Specific Color Variables   */
/* ===================================== */
:root {
    /* New Hero Section Colors */
    --portfolio-hero-bg-start: #E0F7FA;   /* Very Light Cyan */
    --portfolio-hero-bg-end: #B3E5FC;     /* Light Sky Blue */
    --portfolio-hero-text: #212121;       /* Dark Grey for contrast */

    /* Website Showcase Card Colors (for theme toggle) */
    --website-card-light-bg: #ffffff;
    --website-card-light-text: #333333;
    --website-card-dark-bg: #2c3e50;      /* Dark Blue-Grey */
    --website-card-dark-text: #ffffff;
    --website-card-dark-info-bg: #34495e; /* Slightly lighter dark blue-grey for info area */

    /* Full Services Section Colors */
    --full-services-bg-start: #B3E5FC;   /* Light Blue */
    --full-services-bg-end: #81D4FA;     /* Slightly Deeper Light Blue */
    --full-services-text: #212121;       /* Dark text for contrast */

    /* CTA Button Colors (Consistent with Services page button) */
    --cta-button-bg-start-animated: #4A00E0;   /* Deep Violet */
    --cta-button-bg-mid-animated: #8E2DE2;     /* Amethyst */
    --cta-button-bg-end-animated: #4B6CB7;     /* Muted Blue */
    
    --cta-button-bg-start-hover: #2ecc71;   /* Emerald Green */
    --cta-button-bg-mid-hover: #3498db;     /* Bright Blue */
    --cta-button-bg-end-hover: #1abc9c;     /* Turquoise */
    
    --cta-button-text: #ffffff;
    --cta-button-shadow-default: rgba(74, 0, 224, 0.3); 
    --cta-button-shadow-hover: rgba(52, 152, 219, 0.6); 

    /* General text color for sections */
    --section-text-color: #333333;
    --section-heading-color: #3f51b5; /* Consistent with contact/service page headings */
}

/* Portfolio Page Specific Body Styling (ensure no conflict with global style.css) */
/* The main section has class 'portfolio-page' to apply specific padding for fixed header */
.portfolio-page {
    padding-top: 100px; /* Adjust based on your fixed header height */
}

/* ===================================== */
/* 02. Portfolio Hero Section Styles   */
/* ===================================== */
.portfolio-hero {
    background: linear-gradient(135deg, var(--portfolio-hero-bg-start) 0%, var(--portfolio-hero-bg-end) 100%);
    color: var(--portfolio-hero-text); /* Use new text color */
    padding: 80px 20px; /* Adjusted padding after initial main padding */
    text-align: center;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    margin: 20px auto 40px; /* Margin after hero, before next section */
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.portfolio-hero h1 {
    font-size: 4em;
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
    font-weight: 800;
}

.portfolio-hero p {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===================================== */
/* 03. Website Showcase Section Styles */
/* ===================================== */
.website-showcase {
    padding: 80px 20px;
    background: #f9f9f9; /* Light grey background for this section */
    border-radius: 25px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

.website-showcase h2 {
    font-size: 3.5em;
    color: var(--section-heading-color);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.theme-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    background: rgba(0,0,0,0.05);
    border-radius: 30px;
    padding: 5px;
    display: inline-flex;
    margin: 0 auto 40px auto;
}

.theme-btn {
    padding: 10px 25px;
    border: none;
    background: transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--section-text-color);
}

.theme-btn.active {
    background: #3a7ca5;
    color: white;
    box-shadow: 0 4px 10px rgba(58, 124, 165, 0.3);
}

.website-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.website-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.website-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.website-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.website-info {
    padding: 25px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.website-info h3 {
    margin-bottom: 8px;
    font-size: 1.6em;
    font-weight: 600;
}

.website-info p {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--section-text-color); /* Ensure text color consistency */
}

/* Styling for Dark Theme Cards */
.website-card.dark-theme {
    background: var(--website-card-dark-bg);
    color: var(--website-card-dark-text);
    border-color: rgba(255,255,255,0.1);
}
.website-card.dark-theme .website-info {
    background: var(--website-card-dark-info-bg);
    color: var(--website-card-dark-text);
}
.website-card.dark-theme img {
    filter: brightness(0.8) contrast(1.1);
}

/* Styling for Light Theme Cards */
.website-card.light-theme {
    background: var(--website-card-light-bg);
    color: var(--website-card-light-text);
    border-color: rgba(0,0,0,0.05);
}
.website-card.light-theme .website-info {
    background: var(--website-card-light-bg);
    color: var(--website-card-light-text);
}

.hidden {
    display: none;
}

/* ===================================== */
/* 04. Video Showcase Section Styles   */
/* ===================================== */
.video-showcase {
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 25px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

.video-showcase h2 {
    font-size: 3.5em;
    color: var(--section-heading-color);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 20px;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card h3 {
    font-size: 1.6em;
    margin: 20px 20px 8px 20px;
    color: var(--section-heading-color);
    font-weight: 600;
}

.video-card p {
    font-size: 0.95em;
    color: var(--section-text-color);
    padding: 0 20px;
}


/* ===================================== */
/* 05. Full Services Section Styles    */
/* ===================================== */
.full-services {
    background: linear-gradient(135deg, var(--full-services-bg-start), var(--full-services-bg-end)); /* New gradient background */
    color: var(--full-services-text); /* Dark text for contrast */
    padding: 80px 20px;
    text-align: center;
    border-radius: 25px;
    margin: 40px auto 80px auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.services-content h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.05); /* Lighter text shadow */
    font-weight: 800;
}

.services-content p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
    color: var(--section-text-color); /* Ensure consistency */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin: 40px 0 60px 0;
}

.service-item {
    background: rgba(255,255,255,0.7); /* More opaque white for better visibility against blue */
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.5); /* More visible white border */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--section-text-color); /* Dark text inside service items */
}

.service-item:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(255,255,255,0.9); /* Even more opaque on hover */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-item i {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--section-heading-color); /* Use a consistent blue for icons */
}

.service-item h3 {
    font-size: 1.4em;
    font-weight: 600;
}

/* ===================================== */
/* 06. CTA Button Styles               */
/* ===================================== */

/* Keyframes for the continuous gradient animation */
.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2); /* Light frosted glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #111111; /* Black text */
    padding: 18px 38px;
    font-size: 1.25em;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-align: center;
    overflow: hidden;
    text-shadow: none;
}

.cta-button:hover {
    background: rgba(20, 20, 20, 0.4); /* Darker glass effect */
    color: #f5f5f5; /* Off-white text */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
    filter: brightness(1.1);
}

/* ===================================== */
/* 07. Responsive Adjustments          */
/* ===================================== */
@media (max-width: 768px) {
    .portfolio-page {
        padding-top: 80px; /* Adjust for mobile header height */
    }

    .portfolio-hero {
        padding: 60px 20px; /* Reduced padding for mobile */
        margin: 15px auto 30px;
    }
    
    .portfolio-hero h1 {
        font-size: 3em;
    }
    .portfolio-hero p {
        font-size: 1.1em;
    }
    
    .website-showcase,
    .video-showcase,
    .full-services {
        padding: 50px 20px;
        margin: 30px auto;
    }

    .website-showcase h2,
    .video-showcase h2,
    .full-services h2 {
        font-size: 2.8em;
        margin-bottom: 30px;
    }
    
    .website-gallery, 
    .video-gallery {
        grid-template-columns: 1fr; /* Stack on mobile */
    }

    .website-card img {
        height: 220px;
    }

    .website-info, .video-card p {
        font-size: 0.9em;
    }

    .theme-toggle {
        margin-bottom: 30px;
    }

    .services-content h2 {
        font-size: 2.8em;
    }
    .services-content p {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        margin-bottom: 40px;
    }
    .service-item {
        padding: 25px 15px;
    }
    .service-item i {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    .service-item h3 {
        font-size: 1.2em;
    }
    .cta-button {
        padding: 15px 30px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .portfolio-hero h1 {
        font-size: 2.5em;
    }
    .portfolio-hero p {
        font-size: 0.9em;
    }

    .website-showcase h2,
    .video-showcase h2,
    .full-services h2 {
        font-size: 2.2em;
    }

    .website-card img {
        height: 180px;
    }

    .website-info h3, .video-card h3 {
        font-size: 1.4em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-item {
        padding: 20px;
    }
    .service-item i {
        font-size: 2em;
    }
    .service-item h3 {
        font-size: 1.1em;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
}
