/* ==========================================================================
   City Point Management Consultancy - Premium CSS Overhaul
   ========================================================================== */

/* --- Variables --- */
:root {
    /* Richer Color Palette */
    --navy: #012046;
    --navy-dark: #00122e;
    --gold: #C7973E;
    --gold-glow: rgba(199, 151, 62, 0.4);
    --white: #ffffff;
    --off-white: #f4f6f9;
    --dark: #070d17;
    --text-main: #1a202c;
    --text-muted: #334155; /* Darkened from #64748b for readability */
    --text-light: #cbd5e1;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects & Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    
    --shadow-soft: 0 10px 40px -10px rgba(1, 32, 70, 0.1);
    --shadow-glow: 0 0 20px var(--gold-glow);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    
    --glass-dark-bg: rgba(1, 32, 70, 0.6);
    --glass-dark-border: rgba(199, 151, 62, 0.2);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 { 
    font-size: clamp(3rem, 7vw, 5.5rem); 
    font-weight: 700;
    letter-spacing: -0.02em; 
}
h2 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 600;
    letter-spacing: -0.01em;
}
h3 { 
    font-size: clamp(1.5rem, 2.5vw, 2rem); 
    font-weight: 500;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 400; /* Increased from 300 */
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

ul { list-style: none; }

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1400px; /* Wider container for premium feel */
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding { padding: 8rem 0; }
@media (max-width: 768px) { .section-padding { padding: 5rem 0; } }

.bg-off-white { background-color: var(--off-white); }
.bg-navy { background-color: var(--navy); }
.bg-dark { background-color: var(--dark); }
.bg-white { background-color: var(--white); }

.text-white { color: var(--white) !important; }
.text-gold { color: var(--gold) !important; }

/* Premium Section Tags */
.section-tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.section-tag::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--gold);
    margin-right: 15px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 0; /* Sharp corners for corporate elegance */
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(100%);
    transition: var(--transition-smooth);
    z-index: 1;
}
.btn:hover::after { transform: translateY(0); }
.btn span { position: relative; z-index: 2; }

.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
}
.btn-primary:hover {
    background-color: #b58632; /* Slightly darker gold */
    color: var(--navy);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
}

/* --- Header (Glassmorphic) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.site-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(1, 32, 70, 0.95); /* Deep navy on scroll */
    border-bottom-color: rgba(199, 151, 62, 0.2); /* Gold accent border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.logo img {
    width: 320px; /* Grand, but not overwhelming */
    height: auto;
    transition: var(--transition-smooth);
}
.site-header.scrolled .logo img {
    width: 220px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.nav-link {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--white);
    position: relative;
    padding-bottom: 5px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition-smooth);
}
.nav-link:hover::after { width: 100%; }

.btn-contact {
    background-color: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold) !important;
    padding: 0.75rem 2rem;
}
.btn-contact:hover {
    background-color: var(--gold);
    color: var(--navy) !important;
}
.btn-contact::after { display: none; }

/* Header Navigation Call-To-Action (Solid & High-Contrast) */
.nav-links .btn-contact {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(199, 151, 62, 0.25);
}
.nav-links .btn-contact:hover {
    background-color: transparent !important;
    color: var(--gold) !important;
    box-shadow: none;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 24px;
    position: relative;
    z-index: 1001;
}
.hamburger, .hamburger::before, .hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    transition: var(--transition-fast);
}
.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { top: -10px; }
.hamburger::after { bottom: -10px; }

.menu-toggle.active .hamburger { background-color: transparent; }
.menu-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active .hamburger::after { bottom: 0; transform: rotate(-45deg); }

/* --- Hero Section (Cinematic) --- */
.hero-section {
    position: relative;
    padding: 180px 0 120px; /* Refined padding for better centering */
    display: flex;
    align-items: center;
    background-color: var(--navy-dark);
    overflow: hidden;
    min-height: calc(100vh - 80px); /* Fill height beautifully */
}
.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85; /* Increased opacity to show the premium Dubai skyline */
    transform: scale(1.05); /* Slight scale for parallax feel */
    animation: slowZoom 20s infinite alternate linear;
}
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 10, 25, 0.75) 0%, rgba(0, 10, 25, 0.4) 50%, rgba(0, 10, 25, 0.1) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    background: rgba(1, 15, 35, 0.65); /* deep navy with premium transparency */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(199, 151, 62, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-title {
    color: var(--white);
    font-size: clamp(1.8rem, 3.2vw, 2.75rem); /* Extremely well-fitted sizing */
    line-height: 1.25;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.hero-title span.gold-highlight {
    color: var(--gold);
    background: linear-gradient(135deg, #ffffff 30%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    margin-bottom: 2rem;
    max-width: 100%;
    border-left: 2px solid var(--gold);
    padding-left: 1.25rem;
}
.hero-subtitle p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem; /* Slightly smaller for fitting */
    line-height: 1.7;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: left;
}
.hero-subtitle p:last-child {
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.read-more-content {
    display: none;
}
.read-more-content.expanded {
    display: block;
}
.read-more-btn {
    display: inline-block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--transition-fast);
}
.read-more-btn:hover {
    text-decoration-color: var(--gold);
}

/* --- Layout Grids --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Image treatments */
.image-reveal-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px; /* Slight rounding, not overly pill-shaped */
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.image-reveal-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    pointer-events: none;
}
.section-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    transition: var(--transition-slow);
}
.image-reveal-wrapper:hover .section-image {
    transform: scale(1.05);
}

/* --- About Section --- */
.about-section {
    background-color: var(--white);
    position: relative;
}
/* Decorative gold line */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 1px;
    height: 150px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}
.about-section .split-layout {
    align-items: stretch;
}
.about-section .split-visual {
    display: flex;
    flex-direction: column;
}
.about-section .image-reveal-wrapper {
    flex-grow: 1;
    height: 100%;
}
.about-list {
    margin-top: 1.5rem;
    list-style: none;
    padding-left: 0;
}
.about-list li {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
}
.about-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
}

/* --- Services Section (Dark & Glassmorphic) --- */
.services-section {
    background-color: var(--navy);
    color: var(--white);
    position: relative;
}
.services-section h2 { color: var(--white); }
.services-section p { color: var(--text-light); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--glass-dark-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-dark-border);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(199, 151, 62, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(199, 151, 62, 0.5);
    box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }

.service-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}
.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}
.service-list {
    position: relative;
    z-index: 2;
}
.service-list li {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}
.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
}

/* SVG Rollover Animations */
.st-icon {
    transition: var(--transition-smooth);
}
.st-white {
    stroke: var(--white);
    stroke-width: 1.5;
    transition: stroke var(--transition-smooth);
}
.st-gold {
    stroke: var(--gold);
    stroke-width: 1.5;
    transition: stroke var(--transition-smooth);
}

/* Normalize thickness for 24x24 viewBox icons to match 64x64 icons visually */
.st-icon[viewBox="0 0 24 24"] .st-white,
.st-icon[viewBox="0 0 24 24"] .st-gold {
    stroke-width: 0.45;
}
.st-white-fill {
    fill: var(--white);
    transition: fill var(--transition-smooth);
}
.st-gold-fill {
    fill: var(--gold);
    transition: fill var(--transition-smooth);
}
.st-button-white {
    stroke: var(--white);
    stroke-width: 1;
    fill: none;
    transition: stroke var(--transition-smooth);
}

.service-card:hover .st-white {
    stroke: var(--gold);
}
.service-card:hover .st-gold {
    stroke: var(--white);
}
.service-card:hover .st-white-fill {
    fill: var(--gold);
}
.service-card:hover .st-gold-fill {
    fill: var(--white);
}
.service-card:hover .st-button-white {
    stroke: var(--gold);
}

/* Service Card Button Rollover Highlight */
.service-card:hover .btn-contact {
    background-color: var(--gold);
    color: var(--navy) !important;
    border-color: var(--gold) !important;
}

/* --- Services Image Showcase Cards --- */
.image-card-wrapper {
    padding: 0 !important;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-dark-border);
}

.card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform var(--transition-smooth);
}

.image-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 32, 70, 0.95) 0%, rgba(1, 32, 70, 0.4) 60%, rgba(1, 32, 70, 0.1) 100%);
    z-index: 2;
    transition: var(--transition-smooth);
}

.image-card-content {
    position: relative;
    z-index: 3;
    padding: 3rem 2.5rem;
    color: var(--white);
}

.image-card-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.image-card-content h3 {
    margin-bottom: 1rem;
}

.image-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.image-card-wrapper:hover .card-bg-image {
    transform: scale(1.08);
}

.image-card-wrapper:hover .image-card-overlay {
    background: linear-gradient(to top, rgba(199, 151, 62, 0.9) 0%, rgba(1, 32, 70, 0.5) 60%, rgba(1, 32, 70, 0.2) 100%);
}

/* --- Industries (Minimal Grid with Flip Tiles) --- */
.industries-section {
    background-color: var(--off-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Hover & Flipped trigger */
.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Front Side Layout */
.flip-card-front {
    background-color: var(--navy);
    position: absolute;
    z-index: 2;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}

.flip-card-front .industry-card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform var(--transition-smooth);
}

.flip-card-front .industry-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 32, 70, 0.75) 0%, rgba(1, 32, 70, 0.85) 100%);
    z-index: 2;
    transition: var(--transition-smooth);
}

.flip-card-front .industry-card-content {
    position: relative;
    z-index: 3;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.flip-card-front .industry-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(199, 151, 62, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition-smooth);
}

.flip-card-front span {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Back Side Layout */
.flip-card-back {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #011427 100%);
    color: var(--white);
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    padding: 2.2rem 1.5rem;
    border: 1px solid rgba(199, 151, 62, 0.3);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.flip-card-back h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flip-card-back p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: center;
}

.flip-card-back .flip-card-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.flip-card-back .flip-card-link:hover {
    color: var(--white);
    transform: translateX(3px);
}

/* --- Solar Showcase Section --- */
.solar-section {
    position: relative;
    overflow: hidden;
    min-height: 800px;
    display: flex;
    align-items: center;
    background-color: var(--navy-dark);
    padding: 100px 0;
}

.solar-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.solar-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solar-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 15, 35, 0.65); /* Elegant dark overlay to ensure readability */
    z-index: 2;
}

.solar-container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-start; /* Align card to the left */
}

.solar-card {
    background: rgba(1, 20, 45, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(199, 151, 62, 0.3);
    padding: 3.5rem 3rem;
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.solar-card h2 {
    color: var(--white);
    margin: 0 0 1.5rem 0;
    font-size: 2.2rem;
    line-height: 1.2;
}

.solar-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.solar-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.solar-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.solar-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(199, 151, 62, 0.15);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.solar-highlight-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 0.25rem 0;
}

.solar-highlight-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}

/* Solar Gallery */
.solar-gallery-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.solar-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.solar-gallery-item {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(199, 151, 62, 0.2);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    position: relative;
}

.solar-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

/* --- Why Choose Us (Impactful Dark) --- */
.why-us-section {
    background-color: var(--navy-dark);
}
.check-list li {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.check-list li::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C7973E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* --- Contact Section (Elegant Forms) --- */
.contact-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Subtle background decorative shapes for depth and premium feel */
.contact-section::before,
.contact-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 1;
    pointer-events: none;
}
.contact-section::before {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(199, 151, 62, 0.03); /* Very faint gold glow */
}
.contact-section::after {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(1, 32, 70, 0.02); /* Very faint navy glow */
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section .split-layout {
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    font-weight: 700;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Contact Info Blocks */
.contact-info-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.contact-info-block.block-headquarters {
    margin-bottom: 2.5rem;
}

.contact-info-icon {
    background: rgba(199, 151, 62, 0.07);
    border: 1px solid rgba(199, 151, 62, 0.15);
    padding: 1rem;
    border-radius: 50%;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(1, 32, 70, 0.02);
}

.contact-info-block:hover .contact-info-icon {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(199, 151, 62, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.contact-info-text h3 {
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-text p {
    color: var(--navy);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-info-text a {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    transition: var(--transition-fast);
}

.contact-info-text a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Premium Form Container */
.form-container {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 
        0 30px 60px -15px rgba(1, 32, 70, 0.05),
        0 0 1px rgba(1, 32, 70, 0.15);
    position: relative;
    border: 1px solid rgba(199, 151, 62, 0.12);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.form-container:hover {
    box-shadow: 
        0 40px 80px -20px rgba(1, 32, 70, 0.08),
        0 0 1px rgba(1, 32, 70, 0.25);
    border-color: rgba(199, 151, 62, 0.25);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

/* Modern Outlined Premium Inputs */
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: rgba(1, 32, 70, 0.015);
    border: 1.5px solid rgba(1, 32, 70, 0.08);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-fast);
    outline: none;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* Input Focus States */
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    background-color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(199, 151, 62, 0.12);
}

/* Focus color change for labels */
.form-group:focus-within label {
    color: var(--gold);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: #a0aec0;
    opacity: 0.8;
}

/* Custom Select Dropdown with Chevron SVG */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7973E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.1rem;
    padding-right: 3rem;
    cursor: pointer;
}

/* Button style submit override */
.btn-submit-form {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 1.125rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(199, 151, 62, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.btn-submit-form:hover {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(1, 32, 70, 0.25);
    transform: translateY(-2px);
}

.btn-submit-form:active {
    transform: translateY(0);
}

.btn-submit-form span {
    display: inline-flex;
    align-items: center;
}

/* Form Status Styles */
.form-status {
    margin-top: 1.5rem;
    padding: 1.125rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.form-status.success {
    background-color: rgba(16, 185, 129, 0.08);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-left: 4px solid #10b981;
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.08);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-left: 4px solid #ef4444;
}

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

/* --- Footer --- */
.site-footer {
    background-color: var(--navy);
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(199, 151, 62, 0.2); /* subtle gold top border */
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-logo {
    width: 280px;
    margin-bottom: 1.5rem;
}
.site-footer h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.site-footer p { color: var(--text-light); }
.footer-links ul li { margin-bottom: 1rem; }
.footer-links a, .footer-contact a {
    color: var(--text-light);
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--gold);
    padding-left: 5px;
}
.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-icon:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* --- Reveal Animations --- */
.reveal, .reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal { transform: scale(0.95); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up { transform: translateY(40px); }

.reveal.active, .reveal-left.active, .reveal-right.active, .reveal-up.active {
    opacity: 1;
    transform: translate(0,0) scale(1);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background-color: var(--gold);
    color: var(--navy);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 10px 25px rgba(199, 151, 62, 0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
    transform: translateY(-5px);
    background-color: #b58632;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 7rem;
    right: 2.5rem;
    background-color: var(--navy);
    color: var(--gold);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 10px 25px rgba(1, 32, 70, 0.3);
}
.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: var(--gold);
    color: var(--navy);
    box-shadow: 0 10px 25px rgba(199, 151, 62, 0.4);
}

/* --- Media Queries (Responsive Overhaul) --- */
@media (max-width: 1300px) and (min-width: 1151px) {
    .nav-links {
        gap: 1.5rem;
    }
    .logo img {
        width: 260px;
    }
}

@media (max-width: 1150px) {
    /* Collapse header on tablets because of the wide logo and many links */
    .site-header {
        padding: 1rem 0;
        background: rgba(1, 32, 70, 0.98);
        border-bottom-color: rgba(255,255,255,0.1);
    }
    
    .logo img, .site-header.scrolled .logo img {
        width: 250px;
    }
    
    .menu-toggle { display: block; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--navy-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        box-shadow: 0 20px 30px rgba(0,0,0,0.3);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        border-top: 1px solid rgba(255,255,255,0.05);
        z-index: 1000; /* Ensure on top of sections */
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link { font-size: 1.2rem; }
}

@media (max-width: 1024px) {
    .split-layout { gap: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem; /* Give more horizontal room on mobile */
    }
    
    .logo {
        flex: 0 0 80%;
        max-width: 80%;
        display: block;
    }
    
    .logo img, .site-header.scrolled .logo img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    /* Stacking */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .reverse-mobile .split-visual { order: 1; }
    .reverse-mobile .split-text { order: 2; }
    
    .hero-section {
        min-height: auto;
        padding: 130px 0 60px;
        align-items: flex-start; /* Move text up slightly */
    }
    .hero-content {
        padding: 2.25rem 1.5rem;
        border-radius: 12px;
        text-align: left;
    }
    .hero-subtitle { margin: 0 0 2rem; }
    .hero-actions { 
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .hero-actions .btn {
        width: 100%;
    }
    
    .section-image {
        min-height: 350px;
        border-radius: 4px;
    }
    
    .form-container {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 4rem auto 0;
        gap: 1.5rem;
    }
    
    .solar-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .solar-card {
        padding: 2.5rem 1.5rem;
        max-width: 100%;
    }
}

/* ==========================================================================
   Subpages & Legal Pages Styling
   ========================================================================== */
.subpage-hero {
    position: relative;
    padding: 180px 0 80px;
    background-color: var(--navy-dark);
    overflow: hidden;
    border-bottom: 2px solid var(--gold);
}
.subpage-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1,32,70,0.95) 0%, rgba(1,32,70,0.8) 100%);
    z-index: 2;
}
.subpage-hero .container {
    position: relative;
    z-index: 3;
}
.subpage-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}
.subpage-hero p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 0;
    line-height: 1.6;
}

.subpage-content {
    background-color: var(--white);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}
.back-link:hover {
    color: var(--gold);
    transform: translateX(-5px);
}

/* Detailed service items */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Detailed List style */
.detail-list {
    margin-top: 2rem;
}
.detail-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}
.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C7973E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Sidebar sticky contact card */
.sidebar-card {
    background: var(--off-white);
    border: 1px solid rgba(1, 32, 70, 0.1);
    padding: 2.5rem;
    border-radius: 4px;
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow-soft);
}
.sidebar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--navy);
}
.sidebar-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Facilities categories styling */
.facilities-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.facilities-cat-card {
    background: var(--white);
    border-top: 3px solid var(--gold);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    transition: var(--transition-smooth);
    border-left: 1px solid rgba(1, 32, 70, 0.05);
    border-right: 1px solid rgba(1, 32, 70, 0.05);
    border-bottom: 1px solid rgba(1, 32, 70, 0.05);
}
.facilities-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px -10px rgba(1, 32, 70, 0.15);
}
.facilities-cat-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy);
}
.facilities-cat-card h3 svg {
    color: var(--gold);
    flex-shrink: 0;
}
.facilities-cat-card ul li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Legal content layout */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}
.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--navy);
}
.legal-content p, .legal-content li {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.legal-content ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}
.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Premium Typography & Layout Enhancements
   ========================================================================== */
p {
    font-size: 1.05rem; /* Sleek, fitted sizing */
    line-height: 1.75;
}

/* Paragraph Justification for Content Text Blocks */
.service-card p,
.about-section p,
.why-us-section p,
.facilities-support-section p,
.subpage-content p,
.split-text p,
.legal-content p,
.service-detail-grid p,
.sidebar-card p {
    text-align: left;
}

