/* 
* Premium Luxury Architecture Style CSS
* Theme: Architectural, Minimalist, Elegant
* Author: Senior UI/UX Designer
*/

:root {
    /* Colors - Luxury Palette (Navy & Gold) - Light Mode */
    --primary: #D9BE84;
    --primary-dark: #B59B62;
    --primary-light: #E8D3A2;
    --dark: #0A192F;
    --gray-dark: #112240;
    --gray-mid: #8892B0;
    --gray-light: #CCD6F6;
    --ivory: #F9F9F7;
    --white: #FFFFFF;

    /* Functional Colors */
    --text-main: var(--gray-mid);
    --text-heading: var(--dark);
    --bg-main: var(--white);
    --bg-alt: var(--ivory);

    /* Footer Colors */
    --footer-bg: var(--dark);
    --footer-text: var(--gray-light);
    --footer-heading: var(--white);
    --footer-border: rgba(255, 255, 255, 0.1);

    /* Stats Colors */
    --stats-bg: var(--dark);
    --stats-text: var(--white);

    /* Page Header Colors */
    --page-header-bg: var(--dark);
    --page-header-text: var(--white);

    /* Navbar Colors */
    --nav-scrolled-bg: var(--glass-bg);
    --nav-text: var(--white);
    --nav-scrolled-text: var(--dark);
    --nav-btn-bg: var(--white);
    --nav-btn-text: var(--dark);
    --nav-scrolled-btn-bg: var(--dark);
    --nav-scrolled-btn-text: var(--white);

    /* Hero Colors */
    --hero-bg: var(--dark);
    --hero-text: var(--white);
    --hero-subtitle: var(--gray-light);
    --hero-overlay: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.4) 100%);

    /* Project Colors */
    --project-overlay: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 50%, transparent 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: 15px;

    /* Typography */
    --font-family: 'Tajawal', sans-serif;

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;

    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(10, 25, 47, 0.04);
    --shadow-medium: 0 20px 50px rgba(10, 25, 47, 0.08);
    --shadow-gold: 0 15px 35px rgba(217, 190, 132, 0.2);

    /* Transitions */
    --transition-base: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
}

[data-theme="dark"] {
    --white: #0b1120;
    /* Deep Midnight Blue instead of Black */
    --ivory: #0f172a;
    /* Slate Blue for secondary background */
    --bg-main: #0b1120;
    --bg-alt: #0f172a;
    --dark: #f8fafc;
    --gray-dark: #cbd5e1;
    --gray-mid: #94a3b8;
    --gray-light: #1e293b;
    --text-main: #94a3b8;
    --text-heading: #f8fafc;
    --glass-bg: rgba(11, 17, 32, 0.85);
    --glass-border: rgba(148, 163, 184, 0.15);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 20px 50px rgba(0, 0, 0, 0.7);
    --footer-bg: #0f172a;
    --footer-text: #94a3b8;
    --footer-heading: #f8fafc;
    --footer-border: rgba(148, 163, 184, 0.1);

    --stats-bg: #1e293b;
    /* A lighter blue for the stats section in dark mode */
    --stats-text: #f8fafc;

    --page-header-bg: #020617;
    /* Very Deep Blue for Dark Mode */
    --page-header-text: #f8fafc;

    --hero-text: #f8fafc;
    --hero-subtitle: #cbd5e1;
    --hero-overlay: linear-gradient(135deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.7) 100%);

    --project-overlay: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.5) 50%, transparent 100%);

    --nav-scrolled-bg: rgba(15, 23, 42, 0.9);
    --nav-text: #f8fafc;
    --nav-scrolled-text: #f8fafc;
    --nav-btn-bg: var(--primary);
    --nav-btn-text: #0b1120;
    --nav-scrolled-btn-bg: var(--primary);
    --nav-scrolled-btn-text: #0b1120;
}

/* Helper Class */
.u-text-truncate {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Theme Toggle Styling for Nav */
.nav-actions-mobile {
    display: none;
    align-items: center;
    gap: 15px;
}

.theme-toggle-nav {
    background: transparent;
    border: 1px solid var(--gray-light);
    color: var(--dark);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.navbar:not(.scrolled) .theme-toggle-nav {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    /* color: var(--white); */
}

.theme-toggle-nav i {
    position: absolute;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .nav-actions-mobile {
        display: flex;
    }

    .desktop-theme-toggle {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
        margin: 0 !important;
        /* Reset margin */
    }
}

/* Icons visibility logic */
[data-theme="light"] .theme-toggle-nav .light-icon {
    transform: translateY(100%);
    opacity: 0;
}

[data-theme="light"] .theme-toggle-nav .dark-icon {
    transform: translateY(0);
    opacity: 1;
}

[data-theme="dark"] .theme-toggle-nav .light-icon {
    transform: translateY(0);
    opacity: 1;
}

[data-theme="dark"] .theme-toggle-nav .dark-icon {
    transform: translateY(-100%);
    opacity: 0;
}

.mobile-menu-btn {
    display: none;
}

/* ================== BASE STYLES ================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 40px;
}

ul {
    list-style: none;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
    font-weight: 900;
    /* Extra Bold/Black for premium feel */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.text-gold {
    color: var(--primary);
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ================== UI COMPONENTS ================== */

/* Luxury Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-base);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--dark);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline:hover {
    background-color: var(--dark);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 80px;
    max-width: 700px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    position: relative;
    padding-right: 50px;
}

.section-tag::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-mid);
    opacity: 0.8;
}

/* Page Header Special Style */
.page-header-section {
    background-color: var(--page-header-bg) !important;
    color: var(--page-header-text) !important;
    padding: 180px 40px 100px !important;
    /* Standardized padding */
    transition: var(--transition-base);
}

.page-header-section h1 {
    color: var(--page-header-text) !important;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .page-header-section {
        padding: 150px 20px 80px !important;
    }
}

/* ================== NAVIGATION (Glassmorphism) ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    height: 80px;
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    transition: var(--transition-base);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    padding: 10px 0;
    transition: var(--transition-base);
}

/* Pre-scroll text colors (Transparent Navbar on Dark Hero) */
.navbar:not(.scrolled) .logo-text,
.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .nav-logo i {
    color: var(--nav-text) !important;
}

/* Scrolled text colors (Glassmorphism Navbar) */
.navbar.scrolled .logo-text {
    color: var(--nav-scrolled-text);
}

.navbar.scrolled .nav-link {
    color: var(--nav-scrolled-text);
}

.navbar.scrolled .nav-logo i {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--primary);
}

.nav-contact {
    background: var(--nav-scrolled-btn-bg);
    color: var(--nav-scrolled-btn-text) !important;
    padding: 10px 25px !important;
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.navbar:not(.scrolled) .nav-contact {
    background: var(--nav-btn-bg);
    color: var(--nav-btn-text) !important;
}

.navbar:not(.scrolled) .nav-contact:hover,
.nav-contact:hover {
    background: var(--primary);
    color: var(--white) !important;
}

/* ================== HERO SECTION (Full Height) ================== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--hero-bg);
    overflow: hidden;
    color: var(--hero-text);
    transition: var(--transition-base);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transform: scale(1.1);
    animation: heroZoom 20s infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
    transition: var(--transition-base);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero-title {
    color: var(--hero-text);
    font-size: 5.5rem;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
}

.hero-subtitle {
    color: var(--hero-subtitle);
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 50px;
    transition: var(--transition-base);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ================== BENTO GRIDS (Services & Projects) ================== */

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-main);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-light);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--ivory);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
}

/* Projects Grid (Bento) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 25px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    grid-column: span 2;
}

.project-card:nth-child(4n+1) {
    grid-column: span 2;
    grid-row: span 2;
}

.project-card:nth-child(4n+2) {
    grid-column: span 2;
}

.project-card:nth-child(4n+3) {
    grid-column: span 1;
}

.project-card:nth-child(4n+4) {
    grid-column: span 1;
}

.project-card-image {
    width: 100%;
    height: 100%;
    transition: var(--transition-base);
}

.project-card:hover .project-card-image {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: var(--project-overlay);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-info {
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-card-info a {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    transition: var(--transition-fast);
}

.project-card-info a:hover {
    color: var(--primary);
}

/* ================== STATS SECTION ================== */
.stats-section {
    background: var(--stats-bg);
    padding: 80px 0;
    color: var(--stats-text);
    position: relative;
    z-index: 10;
    transition: var(--transition-base);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ================== TESTIMONIALS SLIDER CONCEPT ================== */
.testimonials-section {
    background-color: var(--bg-alt);
}

.testimonial-card {
    background: var(--bg-main);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    color: var(--primary);
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    top: 40px;
    right: 40px;
}

.testimonial-text {
    font-size: 1.4rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ================== FOOTER ================== */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 100px 0 50px;
    transition: var(--transition-base);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-info h3 {
    color: var(--footer-heading);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-about {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.footer h4 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.footer-links a {
    color: var(--footer-text);
    opacity: 0.8;
    margin-bottom: 15px;
    display: block;
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
    padding-right: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 40px;
    text-align: center;
    color: var(--footer-text);
    opacity: 0.6;
}

.footer-info p {
    color: var(--footer-text);
    opacity: 0.8;
}

.social-links a {
    color: var(--footer-heading);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-contact-item {
    margin-bottom: 15px;
}

.footer-contact-item p {
    margin-bottom: 5px;
}

/* ================== ANIMATIONS & RESPONSIVE ================== */
[data-aos] {
    transition-duration: 1000ms !important;
}

@media (max-width: 1200px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Typography */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Sections */
    .section {
        padding: 80px 0;
    }

    .section[style*="180px 122px 100px"] {
        padding: 180px 0 100px !important;
    }

    .section-header {
        margin-bottom: 50px;
    }

    /* Layout Overrides */
    .hero {
        height: auto;
        padding: 150px 0 100px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Grids to Single Column */
    .services-grid,
    .projects-grid,
    .footer-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Specific Grids (About, Contact, Services Process, Project Details) */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1.5fr"],
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Specific Overrides */
    .project-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    /* Navigation Specifics */
    .logo-text {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        display: none;
    }
}

/* ================== MOBILE STYLES (768px) ================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }

    /* Sections */
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 50px; }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block !important;
        background: transparent;
        border: none;
        color: var(--nav-text);
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1001;
        transition: var(--transition-fast);
    }

    .navbar.scrolled .mobile-menu-btn {
        color: var(--nav-scrolled-text);
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-main);
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-top: 1px solid var(--gray-light);
        box-shadow: var(--shadow-medium);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        display: flex !important; /* Force display flex for mobile menu */
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        padding: 20px 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .navbar:not(.scrolled) .nav-link,
    .nav-link {
        display: block;
        color: var(--dark) !important;
        border-bottom: 1px solid var(--gray-light);
        padding: 15px 0;
    }

    .nav-contact {
        margin: 15px auto;
        display: inline-block !important;
        color: var(--white) !important;
        background: var(--dark) !important;
        font-size: 0.9rem !important;
        padding: 8px 20px !important;
        border-radius: var(--radius-xl);
    }

    /* Grids to Single Column */
    .services-grid,
    .projects-grid,
    .footer-grid,
    .stats-grid,
    .project-gallery-grid,
    .project-details-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto;
        gap: 40px;
    }

    .project-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 300px;
    }

    .project-nav-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .project-hero-title {
        font-size: 2.5rem !important;
    }

    .gallery-item {
        height: 300px !important;
    }

    /* Testimonials */
    .testimonial-card { padding: 30px; }
    .testimonial-text { font-size: 1.1rem; }
    .testimonial-quote { font-size: 2rem; top: 20px; right: 20px; }

    /* Contact Form elements */
    form .reveal-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ================== PAGINATION (Premium Style) ================== */
.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    list-style: none;
    padding: 0;
}

.page-item .page-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gray-light);
    color: var(--dark);
    font-weight: 700;
    transition: var(--transition-base);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-item:hover .page-link:not(.active) {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.page-item.disabled .page-link {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Fix for possible cut-off issues */
.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.page-item .page-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gray-light);
    color: var(--dark);
    font-weight: 700;
    transition: var(--transition-fast);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.page-item .page-link:hover {
    background-color: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.page-item.disabled .page-link {
    opacity: 0.3;
    cursor: not-allowed;
}