/* Import all styles from main page */
:root {
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --gold: #d4af37;
    --gold-light: #f1c40f;
    --gold-dark: #b8941f;
    --text: #f5f5f5;
    --text-light: #b0b0b0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(212, 175, 55, 0.2);
    --radius-lg: 20px;
    --radius-md: 15px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(241, 196, 15, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    border-radius: 2px;
    opacity: 0.8;
}

.section-title p {
    color: var(--text-light);
    max-width: 650px;
    margin: 25px auto 0;
    font-size: 1.15rem;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

/* Enhanced Header Styles */
header {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transform: translateY(0);
    transition: transform 0.4s ease, background 0.3s ease;
}

header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 15px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-menu li {
    margin-left: 0;
}

.nav-menu a {
    color: var(--text);
    font-weight: 600;
    padding: 12px 24px;
    position: relative;
    transition: var(--transition);
    text-decoration: none !important;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: var(--gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(241, 196, 15, 0.05));
    transform: translateY(-2px);
}

/* Active state for current page - Gradient Style */
.nav-menu a.active {
    color: var(--black);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gold);
}

/* Page Hero - FIXED PADDING */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px; /* Increased padding to account for fixed header */
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9)), url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
    background-size: cover;
    opacity: 1 !important;
    transform: none !important;
}

.page-hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--text), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.page-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
    text-decoration: none;
}

/* Contact Section */
.contact {
    background: var(--dark-gray);
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--card-border);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(212, 175, 55, 0.4);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 28px;
    color: var(--gold);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold-light);
    text-decoration: none;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 10px;
    text-decoration: none;
}

.contact-form-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--card-border);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-form-container:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.15);
}

.contact-form-container.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--gold-light);
    text-align: center;
    text-decoration: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Fix white-on-white dropdown and improve input contrast */
select.form-control {
    background: var(--medium-gray);
    color: var(--text);
    border: 1px solid rgba(212, 175, 55, 0.25);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23d4af37" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 20,0 10,10"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    cursor: pointer;
}

/* Fix options dropdown background (browser-dependent) */
select.form-control option {
    background: var(--dark-gray);
    color: var(--text);
}

/* Make placeholders visible and consistent */
.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

/* Slightly increase contrast and glow on hover/focus */
.form-control:hover {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Improve dropdown focus visibility */
select.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

/* Emergency Section */
.emergency {
    background: var(--black);
    padding: 100px 0;
    text-align: center;
}

.emergency-content {
    max-width: 800px;
    margin: 0 auto;
}

.emergency-badge {
    display: inline-block;
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(220, 53, 69, 0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.emergency-phone {
    font-size: 3rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 20px;
    text-decoration: none;
    display: block;
}

.emergency-text {
    color: var(--text-light);
    margin-bottom: 40px;
    text-decoration: none;
}

/* FAQ Section */
.faq {
    background: var(--dark-gray);
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-question {
    padding: 25px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    color: var(--gold-light);
    text-decoration: none;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.05);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-toggle {
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: var(--black);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--gold-light);
    text-decoration: none;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-services a {
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
    padding: 5px 0;
    color: var(--text-light);
    text-decoration: none;
}

.footer-services a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact .icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.footer-contact .icon:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

.footer-contact .icon i {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.social-links a:hover i {
    color: var(--black);
}

.social-links a i {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Enhanced Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition);
        border-top: 1px solid rgba(212, 175, 55, 0.1);
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 80%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        border-radius: var(--radius-md);
        font-size: 1.1rem;
    }
    
    .nav-menu a.active {
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        color: var(--black);
        font-weight: 700;
    }
    
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .emergency-phone {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .page-hero-title {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .emergency-phone {
        font-size: 2rem;
    }
}

/* Styling for the Developer Credit Link */
.developer-credit {
    /* Ensures color is white and no underline, overriding browser default */
    color: #ffffff !important; 
    text-decoration: none !important; 
    
    /* Subtle enhancements */
    font-size: 1.5 em; /* Slightly smaller or adjust as needed */
    font-weight: 300;
    
    
    
    /* Adds a nice hover effect */
    transition: color 0.3s ease;
}

/* Hover effect: makes it brighter when the user mouses over it */
.developer-credit:hover {
    color: #ffd700 !important; /* Changes to a subtle gold/yellow on hover */
}

/* Form States */
.btn-loading {
    display: none;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px;
    border-radius: 5px;
    margin-top: 15px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 5px;
    margin-top: 15px;
}

/* Button loading state */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

