/* ----------------------------------------------------
    ROOT VARIABLES - COLORS & TYPOGRAPHY
---------------------------------------------------- */
:root {
    /* Color Palette */
    --color-navy: #0F1F38;         /* Deep Navy Blue */
    --color-navy-dark: #0A1425;
    --color-navy-light: #1A2E4E;
    
    --color-charcoal: #373F51;     /* Charcoal Grey */
    --color-charcoal-light: #4E5970;
    
    --color-gold: #C5A059;         /* Matte Gold */
    --color-gold-hover: #D8B26A;
    --color-gold-dark: #A58444;
    
    --color-white: #FFFFFF;
    --color-light-bg: #F8F9FA;
    --color-border: #E2E8F0;
    
    /* Typography */
    --font-primary: 'Cairo', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Shadow */
    --shadow-soft: 0 10px 30px rgba(15, 31, 56, 0.08);
    --shadow-medium: 0 15px 40px rgba(15, 31, 56, 0.12);
    --shadow-heavy: 0 20px 50px rgba(15, 31, 56, 0.2);
}

/* ----------------------------------------------------
    RESET & BASE
---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-white);
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-light-bg);
}

.text-center {
    text-align: center;
}

.accent {
    color: var(--color-gold);
}

/* ----------------------------------------------------
    TYPOGRAPHY & UTILITIES
---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-navy);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-charcoal-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--color-gold-dark);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ----------------------------------------------------
    HEADER & NAVIGATION
---------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled .nav-link {
    color: var(--color-navy);
}

.header.scrolled .mobile-toggle {
    color: var(--color-navy);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 140px;
    width: auto;
    transition: var(--transition-normal);
    /* Stronger white glow to make dark text readable on dark hero overlay */
    filter: drop-shadow(0px 0px 15px rgba(255, 255, 255, 0.9)) drop-shadow(0px 0px 5px rgba(255, 255, 255, 1));
}

.header.scrolled .logo-img {
    height: 85px;
    filter: none;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-white);
    cursor: pointer;
}

/* ----------------------------------------------------
    HERO SECTION
---------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 31, 56, 0.95) 0%, rgba(15, 31, 56, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding-top: 80px;
}

.hero-title {
    color: var(--color-white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.accent-text {
    color: var(--color-gold);
    display: inline-block;
}

.hero-subtitle {
    color: #E2E8F0;
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--color-white);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.scroll-down a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

/* ----------------------------------------------------
    ABOUT SECTION
---------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px; /* Increased gap for white space */
    align-items: center;
}

.modern-badge {
    background-color: transparent !important;
    border: 1px solid var(--color-gold);
    color: var(--color-navy) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

.about-text .section-title {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 25px;
}

.about-description {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: var(--color-charcoal);
    line-height: 1.8;
}

.features-list-premium {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item-premium {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(15, 31, 56, 0.05); /* Subtle separator */
}

.feature-item-premium:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-icon-gold {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, rgba(197, 160, 89, 0.2) 100%);
    color: var(--color-gold);
    border-radius: 50%; /* Elegant round shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.feature-item-premium:hover .feature-icon-gold {
    background: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.feature-info h3 {
    font-size: 1.3rem;
    color: var(--color-navy);
    margin-bottom: 8px;
    font-weight: 800;
}

.feature-info p {
    color: var(--color-charcoal-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Image Premium Layout */
.about-image {
    position: relative;
    padding: 20px 0 0 20px; /* Space for the frame offset */
}

.image-wrapper-premium {
    position: relative;
    z-index: 2;
    border-radius: 8px; /* Sharper edges for engineering feel */
    box-shadow: var(--shadow-heavy);
}

.engineering-frame {
    position: absolute;
    top: -20px;
    right: -20px; /* Offset to the right in RTL */
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    border-radius: 8px;
    z-index: -1;
    transition: var(--transition-normal);
}

.about-image:hover .engineering-frame {
    transform: translate(-10px, 10px); /* Smooth movement on hover */
}

.image-wrapper-premium img {
    border-radius: 8px;
    width: 100%;
    display: block;
}

.experience-badge-premium {
    position: absolute;
    bottom: -30px;
    left: -30px; /* Overlap outside */
    background: var(--color-navy);
    color: var(--color-white);
    padding: 35px 40px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(15, 31, 56, 0.3);
    text-align: center;
    border-bottom: 4px solid var(--color-gold);
    z-index: 3;
}

.experience-badge-premium .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 10px;
    font-family: Arial, sans-serif; /* Clean numbers */
    direction: ltr; /* Ensure numbers format correctly */
}

.experience-badge-premium .text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ----------------------------------------------------
    SERVICES SECTION
---------------------------------------------------- */
.services-section {
    background-color: var(--color-white);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--color-light-bg);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(15, 31, 56, 0.05);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
    background-color: var(--color-white);
}

.service-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    display: inline-block;
}

.service-title {
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    line-height: 1.6;
}

.services-cta {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* ----------------------------------------------------
    PROJECTS SECTION
---------------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.project-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.badge-gold { background-color: var(--color-gold); }
.badge-blue { background-color: var(--color-navy); }

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--color-charcoal-light);
    font-size: 0.95rem;
}

/* ----------------------------------------------------
    CALCULATOR SECTION
---------------------------------------------------- */
.calculator {
    background: url('https://images.unsplash.com/photo-1541888081622-17cb2a5e4d58?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat fixed;
    position: relative;
}

.calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 37, 0.9);
}

.calc-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    align-items: center;
}

.title-light {
    color: var(--color-white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.text-light p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.calc-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calc-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-weight: 500;
}

.calc-benefits li i {
    color: var(--color-gold);
    font-size: 1.2rem;
}

.calc-form-container {
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); /* Stronger shadow so the bounds are clear */
    position: relative;
    overflow: hidden;
}

.calc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--color-light-bg);
    transition: var(--transition-fast);
    color: var(--color-charcoal);
    box-sizing: border-box; /* Ensures padding does not break layout */
    margin: 4px 0; /* Add slight margin so the focus ring does not get cut by container */
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.2);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    font-size: 1.1rem;
}

.form-message {
    margin-top: 20px;
    padding: 20px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    text-align: center;
    color: #065f46;
    animation: fadeIn 0.5s ease;
}

.form-message i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.hidden {
    display: none;
}

/* ----------------------------------------------------
    PARTNERS SECTION
---------------------------------------------------- */
.partners-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
}

.partner-prominent img {
    height: 85px;
    width: auto;
    transition: var(--transition-normal);
}

.partner-prominent:hover img {
    transform: scale(1.05);
}

.partners-grid-multi {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    width: 100%;
}

@media (max-width: 992px) {
    .partners-grid-multi {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-grid-multi {
        grid-template-columns: repeat(2, 1fr);
    }
}

.partner-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 25px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 31, 56, 0.04);
    transition: var(--transition-normal);
    border: 1px solid rgba(15, 31, 56, 0.05);
}

.partner-box img {
    display: block;
    height: 65px;
    width: 80%;
    max-width: 100%;
    transition: var(--transition-normal);
    object-fit: contain;
}

.partner-box:hover {
    box-shadow: 0 15px 40px rgba(15, 31, 56, 0.1);
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.3);
}


.text-partner span {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-charcoal-light);
    text-align: center;
    line-height: 1.4;
    transition: var(--transition-normal);
}

.partner-box:hover .text-partner span {
    color: var(--color-navy);
}

/* ----------------------------------------------------
    FOOTER
---------------------------------------------------- */
.footer {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 25px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: var(--color-white);
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
}

.footer-contact h3,
.footer-map h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-list i {
    color: var(--color-gold);
    margin-top: 4px;
}

.footer-bottom {
    background-color: var(--color-navy-dark);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* ----------------------------------------------------
    ANIMATIONS & UTILS
---------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up { transform: translateY(50px); }
.fade-in-left { transform: translateX(-50px); }
.fade-in-right { transform: translateX(50px); }

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* ----------------------------------------------------
    RESPONSIVE DESIGN
---------------------------------------------------- */
@media (max-width: 991px) {
    .section-padding { padding: 80px 0; }
    
    .hero-title { font-size: 2.8rem; }
    
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    
    .calc-wrapper { grid-template-columns: 1fr; padding: 30px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .experience-badge { right: 20px; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease-in-out;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .nav-link {
        color: var(--color-navy);
        font-size: 1.2rem;
    }
    
    .header.scrolled .mobile-toggle,
    .mobile-toggle {
        display: block;
        color: var(--color-navy);
    }
    
    .header { background: var(--color-white); padding: 15px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
    
    .logo-text { color: var(--color-navy); }
    
    .hero-title { font-size: 2.2rem; }
    
    .projects-grid { grid-template-columns: 1fr; }
    
    .calc-form { grid-template-columns: 1fr; }
    .form-group-full { grid-column: 1; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================
   MODAL POP-UP
========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 31, 56, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon i {
    font-size: 5rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--color-navy);
    margin-bottom: 15px;
    font-weight: 800;
}

.modal-message {
    font-size: 1.1rem;
    color: var(--color-charcoal);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* FORM VALIDATION STYLES */
.form-group input:invalid:focus,
.form-group select:invalid:focus,
.was-validated .form-group input:invalid,
.was-validated .form-group select:invalid {
    border-color: #ef4444;
}

.was-validated .form-group input:invalid:focus,
.was-validated .form-group select:invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

