/* ========================================
   Den-mas Ventures - Main Stylesheet
   ======================================== */

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

/* Prevent visual glitches on touch devices */
*,
*::before,
*::after {
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #f39c12;
    --primary-dark: #e67e22;
    --secondary-color: #2c3e50;
    --secondary-dark: #34495e;
    --text-dark: #333;
    --text-light: #7f8c8d;
    --text-lighter: #bdc3c7;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #27ae60;
    --danger: #e74c3c;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    touch-action: manipulation;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== TOP UTILITY BAR ========== */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

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

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary-color);
}

.top-bar i {
    margin-right: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

/* ========== MAIN NAVIGATION â€” SLEEK REDESIGN ========== */
.main-nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease, transform 0.3s ease;
    transform: translateY(0) translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    contain: layout;
    border-radius: 0;
}

.main-nav.nav-hidden {
    transform: translateY(-100%) translateZ(0);
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 8px 0;
    top: 15px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    border-radius: 16px;
    margin: 0 auto;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 42px;
    position: relative;
    will-change: auto;
    contain: layout;
}

/* Prevent layout shifts during interactions */
.main-nav .container > * {
    flex-shrink: 0;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
    transition: color 0.4s ease;
}

.main-nav.scrolled .logo {
    color: var(--secondary-color);
}

.logo img {
    height: 22px;
    width: auto;
    border-radius: 0;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -0.2px;
    transition: color 0.4s ease;
}

.main-nav.scrolled .logo-text {
    color: var(--secondary-color);
}

.logo-text span {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    contain: layout style;
    min-height: 42px;
}

.nav-links > li {
    display: flex;
    align-items: center;
    contain: layout;
    flex-shrink: 0;
}

.nav-links > li > a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.4s ease, background-color 0.25s ease;
    position: relative;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    will-change: auto;
}

.main-nav.scrolled .nav-links > li > a {
    color: var(--secondary-color);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--primary-color);
    background: rgba(243, 156, 18, 0.08);
    transform: none;
}

/* Specific styling for dropdown links to prevent glitches */
.nav-links .dropdown > a {
    min-width: max-content;
}

.nav-links .dropdown > a:hover,
.nav-links .dropdown > a.active,
.nav-links .dropdown > a:focus {
    color: var(--primary-color);
    background: rgba(243, 156, 18, 0.08);
    transform: none;
}

.nav-links > li > a::after {
    display: none;
}

.nav-links .dropdown > a i {
    font-size: 10px;
    margin-left: 2px;
    transition: color 0.4s ease, transform 0.3s ease;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0) rotate(0deg);
    position: relative;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    line-height: 1;
    color: inherit;
}

.nav-links .dropdown:hover > a i {
    transform: translateZ(0) rotate(180deg);
}

/* Ensure dropdown arrows are ALWAYS visible - override everything */
.nav-links .dropdown > a i,
.nav-links .dropdown > a.active i,
.nav-links .dropdown > a:hover i,
.nav-links .dropdown > a:focus i,
.nav-links .dropdown > a:active i,
.nav-links .dropdown > a:visited i {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    content: '' !important;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    min-width: fit-content;
    position: relative;
}

/* Prevent icons from disappearing */
.nav-actions > * {
    flex-shrink: 0;
    position: relative;
}

/* Hide consultation icon on desktop (only show on mobile) */
.consultation-icon {
    display: none !important;
}

/* Show consultation icon only on mobile */
@media (max-width: 768px) {
    .consultation-icon {
        display: flex !important;
    }
}

/* Search */
.search-container {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.search-icon {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.4s ease;
    position: relative;
    flex-shrink: 0;
}

.main-nav.scrolled .search-icon {
    color: var(--secondary-color);
}

.search-icon:hover {
    background: rgba(243, 156, 18, 0.1);
    color: var(--primary-color);
    transform: none;
}

.search-bar {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 320px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    padding: 0 !important;
}

.search-bar.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.search-bar input {
    width: 100%;
    padding: 10px 18px;
    border: 1.5px solid rgba(243, 156, 18, 0.6);
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(243, 156, 18, 0.25);
}

/* Cart */
.cart-container {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.cart-icon {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    color: var(--white);
    cursor: pointer;
    position: relative;
    transition: background-color 0.25s ease, color 0.4s ease;
    flex-shrink: 0;
}

.main-nav.scrolled .cart-icon {
    color: var(--secondary-color);
}

.cart-icon:hover {
    background: rgba(243, 156, 18, 0.1);
    color: var(--primary-color);
    transform: none;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1.4;
}

/* CTA Button â€” nav only */
.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 8px 18px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.2px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.25);
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    filter: brightness(1.05);
}

/* Hero/section btn-primary (unchanged) */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 5;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--white);
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.4s ease;
}

.main-nav.scrolled .mobile-toggle {
    color: var(--secondary-color);
}

.mobile-toggle:hover {
    background: rgba(243, 156, 18, 0.1);
    color: var(--primary-color);
}

/* ========== HERO SECTION ========== */
.hero {
    margin-top: 58px;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated background with Ken Burns effect */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 73, 94, 0.95) 100%), 
                url('../Homepage%20Image/homepage.jpg');
    background-size: cover;
    background-position: center;
    animation: kenBurns 40s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }
    50% {
        transform: scale(1.1) translateX(-2%) translateY(-2%);
    }
    100% {
        transform: scale(1.05) translateX(2%) translateY(1%);
    }
}

/* Orange glow overlay - REMOVED for clean hero */
.hero::after {
    display: none !important;
}

/* Animated gradient overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(243, 156, 18, 0.1) 0%, 
        transparent 50%, 
        rgba(243, 156, 18, 0.1) 100%);
    background-size: 200% 200%;
    animation: gradientShift 30s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-content {
    max-width: 900px;
    padding: 60px 20px;
    animation: fadeInUp 1.2s ease;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #fff 0%, var(--primary-color) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 8s linear infinite, floatText 6s ease-in-out infinite;
}

@keyframes textShine {
    to { background-position: 200% center; }
}

@keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 28px;
    line-height: 1.7;
    color: #ecf0f1;
    animation: fadeIn 1.5s ease 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
    animation: fadeInUp 1.5s ease 0.5s both;
}

.btn-pulse {
    animation: btnPulse 4s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.7);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 15px rgba(243, 156, 18, 0);
        transform: scale(1.05);
    }
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.hero-stats {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    animation: fadeInUp 1.8s ease 0.8s both;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
    animation: slideInUp 1s ease both;
    width: 280px;
    height: 80px;
    flex: 0 0 auto;
}

.hero-stat:nth-child(1) { animation-delay: 1s; }
.hero-stat:nth-child(2) { animation-delay: 1.2s; }
.hero-stat:nth-child(3) { animation-delay: 1.4s; }

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

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stat i {
    font-size: 20px;
    color: var(--primary-color);
    animation: iconPulse 4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-stat strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-stat span {
    display: block;
    font-size: 11px;
    color: #ecf0f1;
    opacity: 0.9;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 4s ease-in-out infinite;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s;
}

.hero-scroll-indicator:hover {
    color: var(--primary-dark);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========== SECTION TITLES ========== */
.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-header h2 {
    font-size: 38px;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: 3px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

.service-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

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

/* ========== PROJECTS SECTION ========== */
.projects {
    padding: 100px 0;
    background-color: var(--white);
}

.projects-filter {
    text-align: center;
    margin: 50px 0;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    padding: 10px 25px;
    margin: 5px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    background: var(--white);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.project-badge.completed {
    background-color: var(--success);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.project-info .location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.project-info .location i {
    margin-right: 5px;
}

.project-info p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
}

.why-us .section-title h2,
.why-us .section-title p {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-lighter);
    line-height: 1.8;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    text-align: center;
}

.stat-box h4 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-box p {
    font-size: 16px;
    color: #ecf0f1;
}

/* ========== PROCESS SECTION ========== */
.process {
    padding: 100px 0;
    background-color: var(--white);
}

.process-timeline {
    margin-top: 60px;
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.step-number {
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(rgba(243, 156, 18, 0.9), rgba(243, 156, 18, 0.9)), 
                url('../Homepage%20Image/homepage.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.testimonials .section-title h2,
.testimonials .section-title p {
    color: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: var(--text-dark);
    transition: transform 0.3s;
}

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

.testimonial-rating {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.author-info h4 {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 3px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== UNIFIED SLEEK CTA SECTION (ALL PAGES) ========== */
.cta-section,
.cta-home,
.services-cta,
.about-cta {
    padding: 70px 0 !important;
    background: linear-gradient(135deg, #090f1a 0%, #121c2e 100%) !important;
    color: #ffffff !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.cta-section::before,
.cta-home::before,
.services-cta::before,
.about-cta::before {
    display: none !important;
    content: none !important;
}

.cta-particles {
    position: absolute !important;
    inset: 0 !important;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(243, 156, 18, 0.08) 0%, transparent 45%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.cta-content,
.services-cta-content,
.about-cta-content {
    position: relative !important;
    z-index: 2 !important;
}

.cta-icon {
    font-size: 44px !important;
    color: #f39c12 !important;
    margin-bottom: 18px !important;
    display: block !important;
    filter: drop-shadow(0 4px 12px rgba(243, 156, 18, 0.3)) !important;
    animation: none !important;
}

.cta-section h2,
.cta-home h2,
.services-cta h2,
.about-cta h2 {
    font-size: clamp(24px, 4vw, 40px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 12px !important;
}

.cta-section p,
.cta-home p,
.services-cta p,
.about-cta p {
    font-size: 15.5px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    margin: 0 auto 34px !important;
    max-width: 560px !important;
    line-height: 1.7 !important;
}

.cta-buttons,
.cta-buttons-row {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-bottom: 36px !important;
}

.cta-section .btn-primary,
.cta-home .btn-primary,
.services-cta .btn-primary,
.about-cta .btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    color: #ffffff !important;
    padding: 13px 28px !important;
    border-radius: 40px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 6px 24px rgba(243, 156, 18, 0.38) !important;
    transition: all 0.28s ease !important;
    animation: none !important;
}

.cta-section .btn-primary:hover,
.cta-home .btn-primary:hover,
.services-cta .btn-primary:hover,
.about-cta .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 32px rgba(243, 156, 18, 0.52) !important;
}

.cta-section .btn-secondary,
.cta-home .btn-secondary,
.services-cta .btn-secondary,
.about-cta .btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.90) !important;
    padding: 13px 28px !important;
    border-radius: 40px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.28s ease !important;
}

.cta-section .btn-secondary:hover,
.cta-home .btn-secondary:hover,
.services-cta .btn-secondary:hover,
.about-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

.cta-features {
    display: flex !important;
    gap: 28px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 0 !important;
}

.cta-feature {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.60) !important;
    font-weight: 500 !important;
}

.cta-feature i {
    font-size: 14px !important;
    color: #f39c12 !important;
}

/* ========== FOOTER - REDESIGNED ========== */
.footer {
    background: linear-gradient(135deg, #0a1628 0%, #1a2740 100%);
    color: var(--white);
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 0;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
}

/* First Column - Logo & Tagline */
.footer-section:first-child {
    max-width: 350px;
}

.footer-logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

.footer-logo img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    filter: brightness(1.1);
}

.footer-logo h3 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    line-height: 1.2 !important;
}

.footer-section > p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 14px;
    margin: 0 0 25px 0;
}

/* Social Icons in Footer */
.footer-section .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.footer-section .social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    font-size: 16px;
}

.footer-section .social-icons a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

/* Column Headers - All sections including first */
.footer-section h3 {
    font-size: 16px;
    margin: 0 0 25px 0;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* Remove the h3 styling override for logo section */
.footer-logo h3::after {
    display: none;
}

.footer-logo h3 {
    padding-bottom: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 20px !important;
}

/* Links */
.footer-section a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
    transition: all 0.3s;
    position: relative;
    padding-left: 0;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 0;
}

.footer-section a::before {
    display: none;
}

/* Contact Info */
.footer-section p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section p i {
    width: 20px;
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: 12px 0 15px 0;
    text-align: center;
    background: transparent;
    border-top: none;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    margin: 0;
    display: block;
    font-weight: 400;
}

/* Rate Us Button in Footer */
.footer-section .rate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    margin-top: 10px;
}

.footer-section .rate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
    padding-left: 20px;
}

.footer-section .rate-btn::before {
    display: none;
}

.footer-section .rate-btn i {
    color: var(--white);
    width: auto;
}

/* ========== HOME PAGE SECTIONS ========== */
.home-section {
    padding: 20px 0;
}

/* Services Preview */
.services-preview {
    background-color: var(--bg-light);
    position: relative;
    padding: 20px 0;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--white), var(--bg-light));
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Override for projects and other grids - keep them at 3 columns */
.featured-projects-grid,
.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 30px !important;
}

.service-preview-card {
    background: var(--white);
    padding: 20px 16px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    height: auto;
}

.service-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s;
}

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

.service-preview-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-preview-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    font-size: 20px;
    transition: all 0.4s;
    position: relative;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.service-preview-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transition: all 0.4s;
}

.service-preview-card:hover .service-preview-icon {
    transform: rotateY(360deg) scale(1.1);
}

.service-preview-card:hover .service-preview-icon::after {
    opacity: 1;
    inset: -10px;
}

.service-preview-card h3 {
    font-size: 15px;
    color: var(--secondary-color);
    margin: 0 0 6px 0;
    font-weight: 600;
}

.service-preview-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 12.5px;
    margin: 0 0 10px 0;
}

.service-link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary-color);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(10px);
}

.service-preview-card:hover .service-link-arrow {
    opacity: 1;
    transform: translateY(0);
}

.service-link-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

/* Featured Projects Home */
.featured-projects-home {
    background-color: var(--white);
    padding: 20px 0;
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.featured-project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    cursor: pointer;
}

.featured-project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    display: none;
}

.featured-project-card:hover::after {
    opacity: 0;
}

.featured-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.featured-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.featured-project-card:hover img {
    transform: scale(1.15);
}

.featured-project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    color: var(--white);
    padding: 30px 25px;
    transition: all 0.4s;
}

.featured-project-card:hover .featured-project-overlay {
    padding-bottom: 25px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    animation: fadeInLeft 0.6s;
    z-index: 2;
}

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

.featured-badge.ongoing {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.featured-badge.completed {
    background: linear-gradient(135deg, var(--success), #229954);
}

.featured-project-overlay h3 {
    font-size: 20px;
    margin-bottom: 6px;
    font-weight: 600;
}

.featured-project-overlay p {
    font-size: 14px;
    color: #ecf0f1;
    margin-bottom: 12px;
}

.project-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s;
}

.featured-project-card:hover .project-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.project-view-btn:hover {
    background: var(--primary-dark);
    gap: 12px;
}

/* Why Choose Us Home */
.why-choose-home {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.92) 0%, rgba(52, 73, 94, 0.92) 100%), 
                url('../Homepage%20Image/homepage.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.why-choose-home .section-header h2,
.why-choose-home .section-header p {
    color: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.why-choose-card {
    text-align: center;
    padding: 25px 20px;
    background: rgba(26, 35, 47, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    min-width: 280px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s;
}

.why-choose-card:hover::before {
    left: 100%;
}

.why-choose-card:hover {
    background: rgba(26, 35, 47, 0.95);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(243, 156, 18, 0.4);
}

.why-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4);
}

.why-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.5;
    animation: rotate 20s linear infinite;
}

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

.why-choose-card i {
    font-size: 32px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.why-choose-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.why-choose-card p {
    color: #ecf0f1;
    font-size: 15px;
    line-height: 1.6;
}

/* Stats Home */
.stats-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.stat-home {
    padding: 20px;
    background: rgba(26, 35, 47, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
    min-width: 280px;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-home:hover {
    background: rgba(26, 35, 47, 0.95);
    transform: scale(1.05);
    border-color: rgba(243, 156, 18, 0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.stat-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.stat-home h4 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-weight: 700;
}

.stat-home h4::after {
    content: '+';
    font-size: 30px;
    margin-left: 5px;
}

.stat-home p {
    font-size: 16px;
    color: #ecf0f1;
    font-weight: 500;
}

/* Testimonials Home */
.testimonials-home {
    background: linear-gradient(rgba(243, 156, 18, 0.92), rgba(243, 156, 18, 0.92)), 
                url('../Homepage%20Image/homepage.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 20px 0;
}

.testimonials-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.testimonials-home .container {
    position: relative;
    z-index: 1;
}

.testimonials-home .section-header h2,
.testimonials-home .section-header p {
    color: var(--white);
}

.testimonials-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-home-card {
    background: var(--white);
    padding: 30px 28px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.testimonial-home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

.testimonial-home-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.quote-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
}

.testimonial-home-card .stars {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.testimonial-home-card p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
    position: relative;
}

.testimonial-author-home {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--bg-light);
}

.author-avatar-home {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

.testimonial-author-home div {
    text-align: left;
}

.testimonial-author-home h4 {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 3px;
}

    color: var(--text-light);
}

/* ── Testimonials Horizontal Marquee / Right-to-Left Ticker ── */
.testimonials-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0 20px;
}

.testimonials-slider-wrapper.marquee-active .testimonials-home-grid {
    display: flex !important;
    gap: 30px !important;
    width: max-content !important;
    animation: scrollRightToLeft 28s linear infinite;
}

.testimonials-slider-wrapper.marquee-active:hover .testimonials-home-grid {
    animation-play-state: paused;
}

.testimonials-slider-wrapper.marquee-active .testimonial-home-card {
    width: 380px !important;
    max-width: 85vw !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

@keyframes scrollRightToLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* CTA Home */
.cta-home {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(243, 156, 18, 0.08) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 25px;
    animation: none;
}

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

.cta-home h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-home p {
    font-size: 19px;
    margin-bottom: 35px;
    color: #ecf0f1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.cta-home .btn-primary,
.cta-home .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    padding: 15px 35px;
}

.cta-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #ecf0f1;
}

.cta-feature i {
    font-size: 20px;
    color: var(--primary-color);
}

/* View More Button */
.view-more-btn {
    text-align: center;
}

.btn-view-more,
.btn-view-more-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-view-more {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-view-more:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.btn-view-more-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-view-more-light:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-view-more i,
.btn-view-more-light i {
    transition: transform 0.3s;
}

.btn-view-more:hover i,
.btn-view-more-light:hover i {
    transform: translateX(5px);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .services-preview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Top Bar Mobile */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar .container {
        padding: 0 15px;
        font-size: 11px;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 10px;
    }

    .top-bar-left span i,
    .top-bar-right a i {
        margin-right: 3px;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icons a {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    /* Navigation Mobile - No rounded corners on mobile */
    .main-nav {
        padding: 8px 0;
    }
    
    .main-nav.scrolled {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
    }

    .main-nav .container {
        padding: 0 15px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .logo {
        gap: 8px;
        order: 1;
    }

    .logo img {
        height: 24px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-text span {
        display: none;
    }

    /* Mobile Menu Backdrop */
    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 90%;
        max-width: 420px;
        height: auto !important;
        max-height: calc(100vh - 120px);
        background-color: var(--white);
        display: inline-flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
        align-items: stretch;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        border-radius: 20px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
    
    /* Prevent transition glitches on touch */
    .nav-links * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        user-select: none;
    }

    /* Better scrollbar styling for the menu */
    .nav-links::-webkit-scrollbar {
        width: 6px;
    }

    .nav-links::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 20px;
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15);
        border-radius: 10px;
    }

    .nav-links::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.25);
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding: 0 !important;
        margin: 0 !important;
    }

    .nav-links > li:first-child {
        padding-top: 8px !important;
    }

    .nav-links > li:last-child {
        border-bottom: none;
        padding-bottom: 8px !important;
    }

    /* Ensure dropdown items don't add extra space */
    .dropdown {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-links > li > a {
        font-size: 16px;
        padding: 13px 25px !important;
        border-radius: 0;
        width: 100%;
        justify-content: space-between;
        font-weight: 500;
        color: var(--secondary-color);
        display: flex;
        align-items: center;
        margin: 0;
        pointer-events: auto !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(243, 156, 18, 0.1);
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        transition: background-color 0.2s ease, color 0.2s ease;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transform: translateZ(0);
        will-change: auto;
    }

    /* Hide dropdown chevrons on mobile - make links direct navigation */
    .nav-links > li.dropdown > a i.fa-chevron-down {
        display: none !important;
        visibility: hidden !important;
    }

    /* Hide dropdown menus completely on mobile */
    .dropdown-menu,
    .dropdown-menu li,
    .dropdown-menu li a {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        max-height: 0 !important;
        pointer-events: none !important;
    }

    /* Make dropdown links behave as normal links on mobile */
    .nav-links > li.dropdown > a {
        pointer-events: auto !important;
        cursor: pointer !important;
        justify-content: flex-start !important;
    }
    
    /* Ensure main menu items are always visible */
    .nav-links > li {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-links > li > a {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: var(--secondary-color) !important;
    }

    .nav-links > li > a:hover,
    .nav-links > li > a.active {
        color: var(--primary-color);
        background: rgba(243, 156, 18, 0.05);
    }

    .nav-links > li > a:active {
        background: rgba(243, 156, 18, 0.1);
        transition: none;
    }

    /* Remove all mobile dropdown functionality */
    .dropdown {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .dropdown.active > a {
        color: var(--secondary-color);
        background: transparent;
    }

    .dropdown > a {
        justify-content: flex-start !important;
    }

    .nav-actions {
        display: flex;
        gap: 8px;
        order: 2;
        align-items: center;
        height: 40px;
    }

    .mobile-toggle {
        display: flex;
        order: 4;
    }

    .search-container {
        order: 1;
        position: static;
        display: flex;
        align-items: center;
    }

    .consultation-icon {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: transparent;
        border: none;
        border-radius: 8px;
        color: var(--white);
        font-size: 15px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        flex-shrink: 0;
    }

    .main-nav.scrolled .consultation-icon {
        color: var(--secondary-color);
    }

    .consultation-icon:hover {
        background: rgba(243, 156, 18, 0.1);
        color: var(--primary-color);
        transform: none;
    }

    .cart-container {
        order: 3;
        display: flex;
        align-items: center;
    }

    .search-icon,
    .cart-icon,
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-toggle {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .cart-badge {
        font-size: 9px;
        padding: 1px 4px;
        min-width: 14px;
        top: -2px;
        right: -2px;
        line-height: 1.2;
    }

    /* Mobile Search Bar - HIGHEST SPECIFICITY with proper margins */
    body .main-nav .search-container .search-bar,
    body .main-nav #searchBar,
    .main-nav .container .search-container .search-bar,
    html body div#searchBar {
        position: fixed !important;
        top: 58px !important;
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
        background: transparent !important;
        padding: 15px 0 !important;
        z-index: 1001 !important;
        display: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }

    body .main-nav .search-container .search-bar.active,
    body .main-nav #searchBar.active,
    .main-nav .container .search-container .search-bar.active,
    html body div#searchBar.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: slideDownSearch 0.3s ease !important;
    }

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

    /* Search input with maximum specificity */
    body .main-nav .search-container .search-bar input,
    body .main-nav #searchBar input,
    .main-nav .container .search-container .search-bar input,
    html body div#searchBar input[type="text"] {
        padding: 14px 20px 14px 52px !important;
        font-size: 15px !important;
        width: 100% !important;
        border: 1.5px solid rgba(243, 156, 18, 0.6) !important;
        border-radius: 25px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
        outline: none !important;
        transition: all 0.3s ease !important;
        font-weight: 400 !important;
        color: #2c3e50 !important;
        margin: 0 !important;
        max-width: none !important;
    }

    body .main-nav .search-container .search-bar input::placeholder,
    body .main-nav #searchBar input::placeholder,
    html body div#searchBar input[type="text"]::placeholder {
        color: #95a5a6 !important;
        font-weight: 400 !important;
    }

    body .main-nav .search-container .search-bar input:focus,
    body .main-nav #searchBar input:focus,
    html body div#searchBar input[type="text"]:focus {
        border-color: #f39c12 !important;
        background: #ffffff !important;
    }

    /* Search icon with highest specificity */
    body .main-nav .search-container .search-bar::before,
    .main-nav .container .search-container .search-bar::before,
    html body div#searchBar::before {
        content: '\f002' !important;
        font-family: 'Font Awesome 6 Free' !important;
        font-weight: 900 !important;
        position: absolute !important;
        left: 18px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: #f39c12 !important;
        font-size: 16px !important;
        pointer-events: none !important;
        z-index: 2 !important;
        display: block !important;
    }

    /* Search Results Mobile */
    body .search-results,
    html body div.search-results {
        position: fixed !important;
        top: calc(58px + 74px) !important;
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100vh - 152px) !important;
        z-index: 1000 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .cta-button {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
        margin-top: 58px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        gap: 12px;
        margin-top: 25px;
        max-width: 100%;
    }

    .hero-stat {
        gap: 8px;
        padding: 8px 15px;
        flex: 1 1 auto;
        min-width: 140px;
    }

    .hero-stat i {
        font-size: 18px;
    }

    .hero-stat strong {
        font-size: 14px;
    }

    .hero-stat span {
        font-size: 10px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 15px;
    }

    /* Sections */
    .section-title h2,
    .section-header h2 {
        font-size: 32px;
    }

    .section-title p,
    .section-header p {
        font-size: 16px;
    }

    .services,
    .projects,
    .why-us,
    .process,
    .testimonials,
    .cta-section,
    .home-section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* Grids */
    .services-grid,
    .projects-grid,
    .testimonials-grid,
    .testimonials-home-grid {
        grid-template-columns: 1fr;
    }
    
    .services-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Process */
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        margin-bottom: 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .footer-section:first-child {
        max-width: 100%;
    }
    
    .footer-section h3::after {
        left: 0;
    }
    
    .footer-logo {
        justify-content: flex-start !important;
    }
    
    .footer-section .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    /* Top Bar Extra Small */
    .top-bar .container {
        font-size: 10px;
    }

    .top-bar-left span:last-child {
        display: none;
    }

    .top-bar-right a {
        font-size: 11px;
    }

    .social-icons {
        display: none;
    }

    /* Navigation Extra Small */
    .logo img {
        height: 22px;
    }

    .logo-text {
        font-size: 13px;
    }

    .nav-actions .cta-button {
        display: none;
    }

    .search-icon,
    .cart-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .mobile-toggle {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    /* Hero Extra Small */
    .hero {
        min-height: 65vh;
    }

    .hero-title {
        font-size: 28px;
        background: #fff;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-stats {
        gap: 8px;
        max-width: 100%;
    }

    .hero-stat {
        width: calc(50% - 4px);
        max-width: none;
        min-width: 0;
        padding: 10px 12px;
        gap: 8px;
        justify-content: center;
    }

    .hero-stat:nth-child(3) {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-stat i {
        font-size: 16px;
    }

    .hero-stat strong {
        font-size: 13px;
    }

    .hero-stat span {
        font-size: 9px;
    }

    .section-title h2,
    .section-header h2 {
        font-size: 26px;
    }

    .section-badge {
        font-size: 11px;
        padding: 5px 14px;
    }

    .service-card,
    .project-card {
        padding: 25px;
    }

    .services-preview-grid,
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid,
    .stats-home {
        grid-template-columns: 1fr;
    }

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

    .why-icon-wrapper i {
        font-size: 32px;
    }

    .stat-home h4 {
        font-size: 40px;
    }

    .cta-home h2 {
        font-size: 28px;
    }

    .cta-home p {
        font-size: 16px;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
    }

    .cta-icon {
        font-size: 45px;
    }

    .featured-project-card {
        height: 280px;
    }

    .testimonial-home-card {
        padding: 30px 25px;
    }

    .quote-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .testimonial-author-home {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-author-home div {
        text-align: center;
    }
}

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

.mt-50 {
    margin-top: 50px;
}

.mb-50 {
    margin-bottom: 50px;
}

/* ========== ADDITIONAL ANIMATIONS ========== */
@keyframes cardFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* Smooth page transitions */
* {
    transition: background-color 0.3s ease;
}

/* Add subtle hover lift to all buttons */
button, .btn-primary, .btn-secondary, .cta-button {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

button:hover, .btn-primary:hover, .btn-secondary:hover, .cta-button:hover {
    transform: translateY(-3px);
}

/* Smooth image loading */
img {
    transition: opacity 0.5s ease, transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* ========== DROPDOWN MENU STYLES ========== */
.dropdown {
    position: relative;
}

/* Desktop Dropdown Menu - Always visible on hover on larger screens */
@media (min-width: 769px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        min-width: 280px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-radius: 10px;
        padding: 15px 0;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
        z-index: 1000;
        margin-top: 8px;
        display: block;
        pointer-events: none;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Add padding area to prevent dropdown from closing when moving cursor */
    .dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 8px;
        background: transparent;
    }
}

.dropdown-menu {
    list-style: none;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 30px;
}

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 100px;
}

/* Mobile Dropdown Menu */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 10px 0;
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 10px 20px;
        font-size: 14px;
    }

    .dropdown-menu li a:hover {
        padding-left: 25px;
    }
}


/* ========== CART NOTIFICATION STYLES ========== */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
    min-width: 250px;
}

.cart-notification.show {
    transform: translateX(0);
}

.cart-notification.success {
    border-left: 4px solid #27ae60;
}

.cart-notification.error {
    border-left: 4px solid #e74c3c;
}

.cart-notification.info {
    border-left: 4px solid #3498db;
}

.cart-notification i {
    font-size: 1.5rem;
}

.cart-notification.success i {
    color: #27ae60;
}

.cart-notification.error i {
    color: #e74c3c;
}

.cart-notification.info i {
    color: #3498db;
}

.cart-notification span {
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
}

.notification-link {
    color: #ffa500;
    font-weight: 600;
    text-decoration: none;
    padding: 5px 12px;
    border: 2px solid #ffa500;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.notification-link:hover {
    background: #ffa500;
    color: #fff;
}

/* Cart Container Position */
.cart-container {
    position: relative;
}

/* Cart Dropdown Styling */
.cart-dropdown {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    max-height: 100vh;
    background: var(--surface, #fff);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    margin-top: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    padding: 24px;
    background: var(--navy, #1a2740);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 24px;
    background: #f8f9fa;
    border-top: 1px solid var(--border, #eee);
}

/* Background overlay when cart is open */
body.cart-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    backdrop-filter: blur(4px);
}

body.cart-open .main-nav {
    z-index: 9999;
}
.cart-header h3 {
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 5px;
}

.cart-close:hover {
    transform: rotate(90deg);
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border, #eee);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.cart-item:hover {
    border-color: var(--navy, #1a2740);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.cart-item-image-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
}

.cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy, #1a2740);
    margin: 0 0 4px 0;
}

.cart-item-category {
    font-size: 12px;
    color: var(--gold, #d4af37);
    font-weight: 500;
}

.cart-item-remove {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background: #e74c3c;
    color: #fff;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.cart-empty i {
    font-size: 3rem;
    color: #eee;
    margin-bottom: 16px;
}

.cart-empty p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--navy, #1a2740);
}

.cart-summary .cart-count {
    background: var(--navy, #1a2740);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
}

.cart-actions {
    display: flex;
    gap: 12px;
}

.cart-btn-clear, .cart-btn-order {
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-btn-clear {
    background: transparent;
    border: 1px solid #ccc;
    color: #666;
    flex: 1;
}

.cart-btn-clear:hover {
    background: #f8f9fa;
    color: #333;
    border-color: #999;
}

.cart-btn-order {
    background: var(--gold, #d4af37);
    color: #fff;
    flex: 2;
}

.cart-btn-order:hover {
    background: #c39b2b;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.cart-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-btn-primary {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #fff;
}

.cart-btn-primary:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.cart-btn-secondary {
    background: #fff;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.cart-btn-secondary:hover {
    background: #e74c3c;
    color: #fff;
}

/* Scrollbar Styling for Cart Items */
.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #ffa500;
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #ff8c00;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-dropdown {
        width: 320px;
        right: -20px;
    }
    
    .cart-notification {
        right: 10px;
        min-width: 200px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .cart-dropdown {
        width: 90vw;
        right: 5vw;
        left: 5vw;
    }
}




/* ========== FEATURED DESIGNS HOME SECTION ========== */
/* Featured Designs Home */
.featured-designs-home {
    background-color: var(--bg-light);
    padding: 20px 0;
}

.featured-designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmin(350px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.featured-design-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    height: 400px;
    cursor: pointer;
    background: var(--white);
}

.featured-design-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.featured-design-card:hover::after {
    opacity: 1;
}

.featured-design-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.featured-design-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.featured-design-card:hover img {
    transform: scale(1.15);
}

.featured-design-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
    color: var(--white);
    padding: 20px 20px;
    transition: all 0.4s;
}

.featured-design-card:hover .featured-design-overlay {
    padding-bottom: 25px;
}

.design-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.featured-design-overlay h3 {
    font-size: 20px;
    margin-bottom: 6px;
    font-weight: 600;
}

.featured-design-overlay p {
    font-size: 14px;
    color: #ecf0f1;
    margin-bottom: 0;
}

/* Mobile responsive for Featured Designs */
@media (max-width: 768px) {
    .featured-designs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-design-card {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .featured-design-card {
        height: 300px;
    }
    
    .featured-design-overlay h3 {
        font-size: 18px;
    }
    
    .featured-design-overlay p {
        font-size: 13px;
    }
    
    .design-category {
        font-size: 11px;
        padding: 5px 12px;
    }
}
