:root {
    /* === Brand Colors === */
    --color-orange: #FC7100;
    --color-orange-dark: #D95C00;
    --color-blue: #00335D;
    --color-blue-dark: #001A2F;
    --color-dark-blue-bg: #001A3D;
    --color-light-bg: rgba(0, 51, 93, 1);
    --color-dark-overlay: rgba(0, 0, 0, 0.4);
    --color-white: #ffffff;

    /* === Gradients === */
    --gradient-orange-blue: linear-gradient(120deg, var(--color-orange), var(--color-blue));
    --gradient-orange-line: linear-gradient(90deg, var(--color-orange), #FF9A3C);

    /* === Shadows === */
    --shadow-default: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 40px rgba(252, 113, 0, 0.6);
    --shadow-glow-orange: 0 0 25px rgba(252, 113, 0, 0.8);
    --shadow-glow-orange-large: 0 0 40px rgba(252, 113, 0, 0.9);

    /* === Radius === */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 15px;

    /* === Font Sizes === */
    --font-size-lg: 1.5rem;
    --font-size-md: 1.2rem;
    --font-size-sm: 1rem;

    /* === Transitions === */
    --transition-fast: all 0.3s ease-in-out;
    --transition-medium: all 0.4s ease;

    /* === Misc === */
    --overlay-opacity: 0.4;
}

/* ✅ GLOBAL STYLES */
body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body::-webkit-scrollbar {
    display: none;
}
.typed-cursor {
    display: none !important;
}
html, body {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}
section {
    scroll-snap-align: start;
}
.footer{
    scroll-snap-align: start;
}
/* ✅ HERO BANNER STYLING */
.hero-banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    z-index: 2; /* Ensures it's above other background elements */
    scroll-snap-align: start;
}

/* ✅ Background video now contained inside hero */
.background-video {
    position: absolute; /* Changed from fixed to absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Behind content and overlay */
    pointer-events: none; /* Click-through */
}

/* ✅ Overlay to darken video for text readability */
.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 93, 0.7); /* Dark blue overlay */
    z-index: 0; /* Between video and content */
}

/* ✅ Content inside hero */
.hero-banner .container {
    position: relative;
    z-index: 2; /* Above video and overlay */
    max-width: 900px;
    text-align: center;
    color: white; /* Ensures text is light */
}

/* ✅ ANIMATED TEXT */
#hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Adjusts size dynamically */
    color: var(--color-orange); /* Orange */
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

/* ✅ SUBTITLE */
.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: white;
    opacity: 0.9;
}

/* ✅ Glowing Text Below Hero Subtitle */
.glowing-text {
    font-size: 2rem; /* Bigger than the subtitle */
    font-weight: bold;
    color: var(--color-white); /* Fixed typo: removed 'f' */
    text-shadow: 0 0 10px rgba(252, 113, 0, 0.8), 
                 0 0 20px rgba(252, 113, 0, 0.6), 
                 0 0 30px rgba(252, 113, 0, 0.4);
    margin-top: 10px;
    animation: glowAnimation 2s infinite alternate ease-in-out;
}

/* ✅ Glowing Animation */
@keyframes glowAnimation {
    0% { text-shadow: 0 0 5px rgba(252, 113, 0, 0.8), 
                  0 0 10px rgba(252, 113, 0, 0.6), 
                  0 0 15px rgba(252, 113, 0, 0.4); }
    100% { text-shadow: 0 0 15px rgba(252, 113, 0, 1), 
                    0 0 25px rgba(252, 113, 0, 0.8), 
                    0 0 35px rgba(252, 113, 0, 0.6); }
}

/* ✅ HERO BUTTONS */
.hero-buttons a {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease-in-out;
}
.hero-btn-orange {
    background-color: var(--color-orange);
    color: white;
}
.hero-btn-orange:hover {
    background-color: var(--color-orange-dark);
}
.hero-btn-blue {
    background-color: var(--color-blue);
    color: white;
}
.hero-btn-blue:hover {
    background-color: var(--color-blue-dark);
}
/* ✅ TRANSPARENT NAVBAR */
.navbar {
    background: transparent !important;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    transition: background 0.3s ease-in-out, padding 0.3s ease-in-out;
}
/* ✅ NAVBAR LINKS */
.navbar .nav-link {
    color: white !important;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}
.navbar .nav-link:hover {
    color: var(--color-orange) !important;
}
/* ✅ LOGO SIZE */
.navbar-brand img {
    max-height: 110px; /* Larger logo */
    transition: all 0.3s ease-in-out;
    filter: drop-shadow(0px 0px 6px rgba(255, 255, 255, 0.8));
}
/* ✅ SHRINK LOGO ON SCROLL */
.scrolled .navbar-brand img {
    max-height: 60px;
}
/* ✅ MAKE NAVBAR SOLID ON SCROLL */
.scrolled {
    background: rgba(0, 51, 93, 0.9) !important; /* Dark blue */
    padding: 5px 20px;
}
/* ✅ Custom Navbar Dropdown */
.navbar .navbar-nav .dropdown-menu {
    background-color: var(--color-blue); /* Dark Blue */
    border-radius: 10px; /* Rounded edges */
    border: none;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeIn 0.3s ease-in-out;
}
/* ✅ Dropdown Links */
.navbar .navbar-nav .dropdown-menu .dropdown-item {
    color: white !important;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 20px;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}
/* ✅ Hover Effect (Orange) */
.navbar .navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: var(--color-orange); /* Orange */
    color: white !important;
}
/* ✅ Dropdown Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ✅ OUR VISION SECTION */
.vision-section {
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
    overflow: hidden;
    background: #002244;
    height: 100vh;
}
/* ✅ Corner Gradient Effect */
.vision-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, 
        rgba(252, 113, 0, 0.5) 15%, 
        transparent 50%), 
      radial-gradient(circle at bottom right, 
        rgba(0, 162, 255, 0.5) 15%, 
        transparent 50%);
    pointer-events: none;
    z-index: 0;
}
/* ✅ SVG Noise Effect (Generated via Code) */
.vision-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3' numOctaves='10' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08; /* Adjust for a soft grain effect */
    pointer-events: none;
    z-index: 1;
}
/* ✅ Overlay for Readability */
.vision-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Subtle dark overlay */
    z-index: 2;
}
/* ✅ Content Stays on Top */
.vision-section .container {
    position: relative;
    z-index: 3;
}
/* ✅ Titles & Text */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-orange); /* Orange title */
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 40px;
    color: white;
}
.vision-text, .mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: auto;
}
/* ✅ Vision Section - Ensure Background Works with Skyline */
.vision-section {
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
    overflow: hidden;
    background: #002244; /* Dark Blue */
}
/* ✅ City Skyline Image */
.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none; /* Prevents interaction */
}
/* ✅ Make the Skyline Image Responsive */
.city-skyline img {
    width: 100%;
    max-width: 100%;
    opacity: 0.9;
    filter: drop-shadow(0px 0px 10px rgba(252, 113, 0, 0.6)); /* Orange Glow */
    animation: cityLights 3s infinite alternate ease-in-out;
}
/* ✅ Animated City Lights (Pulsing Effect) */
@keyframes cityLights {
    0%, 100% { filter: drop-shadow(0px 0px 10px rgba(252, 113, 0, 0.6)); } /* Soft Glow */
    50% { filter: drop-shadow(0px 0px 20px rgba(252, 113, 0, 1)); } /* Brighter Orange */
}
/* ✅ Company Summary Section */
.company-summary {
    position: relative;
    padding: 100px 5%;
    background-color: #d8d5d1;
    background-repeat: repeat, no-repeat;
    background-size: 300px 300px, cover;
    text-align: right;
    overflow: hidden;
}
.company-summary .container{
    align-items: center;
}
/* ✅ Background Text Effect */
.background-text {
    position: absolute;
    top: 70%;
    left: 0;
    width: 100%;
    font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-orange);
    white-space: nowrap;
    opacity: 0.4;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
}
/* ✅ Background Animation */
@keyframes textOverlap {
    0% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(-5%); opacity: 1; }
    100% { transform: translateX(-10%); opacity: 0; }
}
/* ✅ Apply to Text */
.background-text span {
    display: inline-block;
    margin-right: 20px;
    opacity: 0;
    animation: textOverlap 5s linear infinite;
}
/* ✅ Section Title */
.company-summary .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-orange);
    margin-bottom: 20px;
}
/* ✅ Summary Text */
.company-summary-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}
/* ✅ Stats Container */
.stats-container {
    margin-top: 20px;
}
/* ✅ Stat Bars */
.stat {
    margin-bottom: 15px;
}
.stat-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
/* ✅ Stat Fill */
.stat-bar-fill {
    height: 100%;
    width: 0;
    background: var(--color-orange);
    transition: width 4s ease-out;
    
}
/* ✅ Counter Position */
.stat-bar-fill-experience {
    height: 100%;
    width: 0;
    background: var(--color-blue);
    transition: width 4s ease-out;
}
.stat-bar-fill-villas {
    height: 100%;
    width: 0;
    background: var(--color-orange);
    transition: width 4s ease-out;
}
/* ✅ PROJECTS SUMMARY SECTION */
.projects-summary-section {
    position: relative;
    padding: 100px 5%;
    color: white;
    overflow: hidden;
    background-image: linear-gradient(135deg, var(--color-dark-blue-bg), var(--color-blue)); /* Your gradient */
}
.projects-summary-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-overlay); /* Dark overlay for depth */
    z-index: 1;
}
.projects-summary-section .container {
    position: relative;
    z-index: 2;
}
/* ✅ Section Title */
.projects-summary-section .section-title {
    font-size: 2.7rem;
    color: var(--color-orange); /* Orange */
    margin-bottom: 15px;
}
/* ✅ Subtitle */
.projects-summary-section .projects-subtitle {
    font-size: 1.5rem;
    opacity: 1;
    margin-bottom: 40px;
}
/* ✅ Project Card */
.project-card {
    background: var(--color-light-bg);
    text-align: center;
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
    transition: var(--transition-fast);
    padding: 0; 
    height: 350px; 
}
/* ✅ Hover Effect */
.project-card:hover {
    transform: translateY(-10px);
    border-image-slice: 1;
    border-radius: 15px;
    box-shadow: var(--shadow-glow-orange-large);
    }
.project-card::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(120deg, rgba(252, 113, 0, 0.8), rgba(0, 51, 93, 0.8));
    border-radius: 18px; /* Match card radius + offset */
    z-index: -1;
    filter: blur(10px);
    opacity: 0; /* Start hidden */
    transition: opacity 0.4s ease;
}
/* ✅ Project Image */
.project-card img {
    width: 100%;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 12px; /* Slightly smaller to look nice inside card */
    transition: opacity 0.3s ease, filter 0.3s ease;
}
/* ✅ Text */
.project-card h3 {
    font-size: 2.2rem;
    color: var(--color-orange);
    margin: 0;
    position: absolute;
    bottom: 10px; /* Push up from the bottom */
    right: -1px; /* Push left from the right */
    writing-mode: vertical-rl; /* Vertical text */
    transform: rotate(180deg); /* Flip to read from bottom up */
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    z-index: 2;
    transition: transform 0.3s ease, right 0.3s ease; /* Smooth transition */
}
.project-card:hover h3 {
    right: 15px; /* Move slightly to the left */
    transform: rotate(180deg) translateX(-5px); /* Optional: make it even smoother */
}
.project-card p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
    min-height: 60px;
}
/* ✅ Glow on Hover */
.project-card:hover img {
    opacity: 0.5;
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(252, 113, 0, 0.5));
}
.project-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

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

.project-card:hover .project-image-container img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 50%; /* Keep it centered */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%; /* Make it smaller */
    height: 50%; /* Reduce height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2; /* Ensure it's below h3 */
}
.project-overlay p {
    font-size: clamp(2rem, 2vw, 1.5rem); /* Responsive font size */
    margin: 0;
    line-height: 1.4;
    color: white;
    font-weight: bold;
}

/* Show overlay on hover */
.project-card:hover .project-overlay {
    opacity: 1;
}

.projects-summary-section .section-title::after {
    content: "";
    display: block;
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), #FF9A3C);
    margin: 10px auto 30px;
    box-shadow: 0 0 25px rgba(252, 113, 0, 0.8);
    border-radius: 5px;
}
.projects-summary-section::before, .projects-summary-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.12;
}
.projects-summary-section::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 162, 255, 0.8), transparent);
    top: -100px;
    right: -150px;
    animation: floatUpDown 10s ease-in-out infinite;
}
.projects-summary-section::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(252, 113, 0, 0.8), transparent);
    bottom: -100px;
    left: -150px;
    animation: floatUpDown 12s ease-in-out infinite;
}
.projects-more-btn {
    background-color: var(--color-orange); 
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.projects-more-btn:hover {
    background-color: var(--color-orange-dark); 
    color: white;
    box-shadow: 0 0 25px rgba(252, 113, 0, 0.8);
    transform: translateY(-3px) scale(1.03);
}
.projects-button-container {
    margin-top: 40px;
    text-align: center;
}
@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}
/* ✅ More Projects Inside Projects Summary */
.more-projects-inside-section {
    margin-top: 50px;
    color: white;
    padding-top: 30px;
    border-top: 2px solid var(--color-orange); /* Nice separator */
}

.more-projects-title {
    font-size: 2.3rem;
    margin-bottom: 15px;
    color: var(--color-orange);
}

.more-projects-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* ✅ Project List (Inline like table) */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* ✅ Project Item */
.project-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ✅ Text inside items */
.project-item span {
    flex: 1;
    text-align: center;
    font-weight: bold;
}

/* ✅ On hover glowing effect */
.project-item:hover {
    box-shadow: 0 0 20px rgba(252, 113, 0, 0.6);
    border: 1px solid var(--color-orange);
}

/* 🌅 Section background with orange and dots */
.certificates-section {
    position: relative;
    padding: 120px 5%;
    background: linear-gradient(135deg, #D95C00, #FF9A3C);
    color: white;
    overflow: hidden;
}

/* Dots floating animation */
.certificates-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: dotsMove 25s linear infinite;
    opacity: 0.8;
}
@keyframes dotsMove {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

/* Certificates container */
.certificates-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
}

/* Certificate card styling */
.certificate-card {
    position: relative;
    width: 320px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    backdrop-filter: blur(6px);
    transition: all 0.4s ease-in-out;
    animation: breathing 4s ease-in-out infinite;
    cursor: pointer;
}

/* Breathing pulse */
@keyframes breathing {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(255, 255, 255, 0.5); }
    50% { transform: scale(1.02); box-shadow: 0 0 60px rgba(255, 255, 255, 0.8); } /* ⬅️ Stronger glow at max */
}

/* Shine effect (always on) */
.shine-effect {
    content: "";
    position: absolute;
    top: -100%; left: -100%;
    width: 200%; height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(30deg);
    animation: shineMove 5s linear infinite;
    opacity: 0.3;
}
@keyframes shineMove {
    from { transform: translate(-100%, -100%) rotate(30deg); }
    to { transform: translate(100%, 100%) rotate(30deg); }
}

/* Text and image */
.certificate-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}
.certificate-title {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 8px;
    font-weight: bold;
}
.certificate-desc {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* EXPANDED STATE */
.certificate-card.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 85vw;
    max-width: 700px;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(1);
    height: auto;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.9);
    transition: transform 0.4s ease, width 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(12px);
    border: 3px solid rgba(255, 255, 255, 0.5);
    animation: zoomIn 0.4s ease forwards;
}

/* Zoom In Animation */
@keyframes zoomIn {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
/* Hidden overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* So it's not clickable until active */
}

/* Active state */
#overlay.overlay-active {
    opacity: 1;
    pointer-events: all; /* Now it can capture clicks to close */
}

/* Disable scroll on open */
body.modal-open {
    overflow: hidden;
}
Always show details

/* ✅ Main wrapper enabling scroll snap with smoother overflow */
.services-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ✅ Scrollbar for better UX (visible and styled) */
.services-wrapper::-webkit-scrollbar {
    width: 8px;
}
.services-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}
.services-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

/* ✅ Each slide full-screen with beautiful gradient overlay */
.service-slide {
    scroll-snap-align: start;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5%;
}

/* ✅ Cool gradient overlay on each slide */
.service-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 51, 93, 0.7));
    mix-blend-mode: multiply;
    z-index: 0;
}

/* ✅ Content centered and visible */
.service-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1.2s ease;
}

/* ✅ Title with glow effect */
.service-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--color-orange);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(252, 113, 0, 0.9), 0 0 30px rgba(252, 113, 0, 0.7);
    font-weight: bold;
    letter-spacing: 1px;
}

/* ✅ Description with subtle glow */
.service-desc {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    margin: 0 auto;
    max-width: 700px;
}

/* ✅ Smooth fade-in-up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.service-slide::before {
    pointer-events: none;
}
/* ✅ CONTACT SECTION */
.contact-section {
    padding: 100px 5%;
    background: var(--color-dark-blue-bg);
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* ✅ Section title */
.contact-section .section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-orange);
    text-shadow: 0 0 15px rgba(252, 113, 0, 0.8);
}

/* ✅ Subtitle */
.contact-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ✅ Contact Items (buttons/links) */
.contact-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

/* ✅ Hover effect */
.contact-item:hover {
    background: var(--color-orange);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(252, 113, 0, 0.8);
}

/* ✅ Icons styling */
.contact-item i {
    font-size: 1.5rem;
}

/* ✅ Map container */
.map-container {
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--color-orange);
}

/* ✅ Map iframe */
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.catalogue-section {
    padding: 100px 5% 60px;
}

.catalogue-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-orange);
    box-shadow: 0 0 30px rgba(0, 51, 93, 0.4);
    filter: grayscale(1) opacity(0.5);
    transition: transform 0.4s ease, box-shadow 0.3s ease, filter 0.4s ease;
    z-index: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    background-color: rgba(255, 255, 255, 0.05);
    will-change: transform, filter;
    transform-style: preserve-3d;
}
.catalogue-card.fully-visible {
  filter: grayscale(0) opacity(1);
  transform: scale(1.01);
  transition-delay: 0.05s;
  z-index: 5;
}
.catalogue-card.fully-visible .image-overlay {
  background: linear-gradient(to top, rgba(0, 51, 93, 0.7), transparent);
}

.catalogue-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(0, 51, 93, 0.1), rgba(252, 113, 0, 0.08));
    z-index: 0;
}

.image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

.image-overlay p {
    position: absolute;
    color: orange;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.catalogue-card.selected {
    border-color: white;
    filter: grayscale(0) opacity(1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.catalogue-card.selected .image-overlay p {
    color: white;
}

.shine-text {
  display: inline-block;
  background: linear-gradient(120deg, #ff9900 0%, #ffffff 40%, #ff9900 100%);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shine 2.5s linear infinite;
}

@keyframes shine {
  to {
    background-position: -200% center;
  }
}
.bubble-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,165,0,0.15), transparent);
  animation: floatBubble 30s ease-in-out infinite;
  filter: blur(60px);
}

.bubble-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}
.bubble-2 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: -120px;
  animation-delay: 5s;
}
.bubble-3 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: 50%;
  animation-delay: 10s;
}
.bubble-4 {
  width: 250px;
  height: 250px;
  bottom: 20%;
  right: -100px;
  animation-delay: 15s;
}
.bubble-5 {
  width: 300px;
  height: 300px;
  top: 70%;
  left: -150px;
  animation-delay: 20s;
}

/* Bubble motion keyframe */
@keyframes floatBubble {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-40px) scale(1.05);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.intro-page {
    background-color: var(--color-dark-blue-bg);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    text-align: center;
    position: relative;
}

.bottom-right-logo {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 10%;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.bottom-right-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .bottom-right-logo {
        width: 30%;
    }
}

.title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: bold;
    color: var(--color-orange);
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.description {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-white);
    text-align: right;
    margin-bottom: 30px;
    font-weight: 600;
    animation: fadeInUp 1.5s ease-out;
}
.certificates-description {
        font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    animation: fadeInUp 1.5s ease-out;
    padding-bottom: 4%;
}
.back-button {
    background-color: var(--color-orange);
    color: white;
    font-size: 1.2rem;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-block;
    position: absolute;
    bottom: 20px;
    left: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(252, 113, 0, 0.6);
}

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

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(252, 113, 0, 0.8), 0 0 20px rgba(252, 113, 0, 0.6);
    }
    100% {
        text-shadow: 0 0 20px rgba(252, 113, 0, 1), 0 0 40px rgba(252, 113, 0, 0.8);
    }
}

.pdf-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    height: 100%;
    margin-bottom: 40px;
}

.pdf-item {
    background-color: rgba(0, 51, 93, 0.8);
    padding: 25px;  /* Added padding */
    border-radius: var(--radius-md);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;  /* Added bottom margin */
}

.pdf-item h2 {
    font-size: 1.8rem;
    color: var(--color-orange);
    margin-bottom: 20px;
}

.pdf-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}
.intro-page .content {
    width: 100%;
}

@media (max-width: 768px) {
        .contact-section .section-title {
        font-size: 2.2rem;
    }
    .contact-subtitle {
        font-size: 1.2rem;
    }
    .contact-items {
        flex-direction: column;
        gap: 20px;
    }
    .map-container {
        height: 300px;
    }
    .service-slide {
        scroll-snap-align: none;
    }
    .services-wrapper {
        scroll-snap-type: none;
    }
    html, body {
        scroll-snap-type: none;
    }
    section {
        scroll-snap-align: none;
    }
    .footer{
        scroll-snap-align: none;
    }
    .hero-banner {
        scroll-snap-align: none;
    }

    .hero-banner {
        height: 100svh;
    }
    #hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .navbar .nav-link {
        font-size: 0.9rem;
    }
    .navbar-brand img {
        max-height: 70px;
    }
    .navbar-collapse {
        background-color: rgba(0, 51, 93, 0.95);
        padding: 10px;
        border-radius: 10px;
    }
    .navbar-toggler {
        border: none;
        outline: none;
    }
    .navbar-toggler-icon {
        filter: invert(1); 
    }
    .background-text {
        font-size: 2rem;
        opacity: 0.3;
        top: 90%;

    }
    .glowing-text {
        font-size: 1.5rem;
    }
    .city-skyline img {
        width: 120%;
        margin-left: -10%;
    }
    .projects-summary-section {
        padding: 80px 5%;
    }

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

    .projects-summary-section .projects-subtitle {
        font-size: 1.3rem;
    }

    .project-card {
        padding: 15px;
    }

    .project-card h3 {
        font-size: 1.2rem;
    }

    .certificate-card {
        width: 90%;
        margin-bottom: 30px;
    }

    .certificate-card.expanded {
        width: 90vw;
    }
    .project-item {
        flex-direction: column;
        text-align: center;
    }
    .service-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .service-desc {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }
    .service-content {
        padding: 10px;
    }
    .service-title {
        font-size: 2rem;
    }

    .service-desc {
        font-size: 1.2rem;
    }

    .service-content {
        padding: 0 10px;
    }
    .title {
        font-size: 2rem;
    }

    .description {
        font-size: 1.2rem;
    }

    .back-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .pdf-container {
        gap: 20px;
    }

    .pdf-item {
        padding: 15px;
    }
    .image-overlay p {
        font-size: 1.3rem;
        top: -50%;
    }

}

@media (max-width: 480px) {
    .hero-banner {
        height: 100svh;
        padding: 0 3%;
    }
    #hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-buttons a {
        font-size: 1rem;
        padding: 10px 18px;
    }
    .navbar .nav-link {
        font-size: 0.85rem;
    }
    .navbar-brand img {
        max-height: 60px;
    }
}