/* JetBrains Mono Font Imports */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-ExtraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-SemiBoldItalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-ExtraBoldItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: url('fonts/Sora-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* this removes display of vertical scroll bar while allowing vertical scrolling in major browsers */
html,
body {
    overflow-x: hidden;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* web color scheme */
:root {
    --main-bg-color: #FFFFFF;
    /* Main background color */
    --color-foreground: #ababab;
    --accent-color: #e90702;
    --accent-color-2: #ff2f00;
    --primary-color: #FFFFFF;
    /* was --secondary-color */
    --secondary-color: #000000;
    --text-color-white: #FFFFFF;
    --text-color-dark: #000000;
    /* Remove --text-color definition */
}

/* Typography Presets for Emergency Contacts Website */
:root {
    /* Font families */
    --font-primary: 'JetBrains Mono', monospace;
    --font-secondary: 'JetBrains Mono', monospace;
    --font-logo: 'Sora', 'JetBrains Mono', monospace;

    /* Font sizes */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 4rem;
    /* 64px */

    /* Line heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    /* letter spacing */
    --letter-spacing-tight: 0.5px;

}

/* Apply typography presets to elements */
h1 {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: bold;
    color: var(--text-color);
    letter-spacing: -0.025em;
    /* Slight negative tracking for headlines */
}

h2 {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    color: var(--text-color);
    font-weight: bold;
}

h3 {
    color: var(--text-color-white);
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    padding: 7px;
}

p {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--text-color);
    letter-spacing: var(--letter-spacing-tight);
}

li {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--text-color);
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--main-bg-color);
}

/* nav section */

nav {
    display: flex;
    justify-content: space-between;
    background: var(--primary-color);
    height: 60px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    z-index: 1001;
    width: 100%;
    align-items: center;
}


.logo {
    margin-left: 26px;
    flex-shrink: 0;
    margin-left: 2rem;
    /* height and width add in html */
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-color-dark);
    font-family: var(--font-logo);
    flex-shrink: 0;
}

.menu-links {
    display: flex;
    gap: 14px;
    font-family: var(--font-secondary);
    font-weight: 800;
    margin-right: 2rem;
}



ul li {
    list-style-type: none;
}

ul li a {
    text-decoration: none;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Base Nav Link Styles */
.menu-links a {
    position: relative;
    color: #333;
    text-decoration: none;
    padding: 0.5rem 0;
    /* Vertical padding only */
}

/* Underline menu-links Animation */
.menu-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    /* Underline thickness */
    background-color: #e4e016;
    /* Your brand color */
    transition: width 0.4s ease, left 0.4s ease;
    /* Smooth animation */
}

/* Hover Effects */
.menu-links a:hover::after {
    width: 100%;
    /* Full width underline */
}

/* Optional: Center-to-sides animation */
.menu-links a.centered::after {
    left: 50%;
    width: 0;
}

.menu-links a.centered:hover::after {
    left: 0;
    width: 100%;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Backdrop overlay for mobile menu */
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* hero section  */
.hero-section {
    background-image: url(images/sol_map_main.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin-top: 60px;
    background-attachment: fixed;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    /* border: 2px grey solid; */
    height: 100vh;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {

    margin-bottom: 30px;
    color: var(--text-color-white);

}

.hero-content h3 {
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    color: #F6F9FE;
    font-family: var(--font-secondary);
    margin-bottom: 30px;

}

.hero-content p {
    margin-bottom: 100px;
    font-family: var(--font-secondary);
    font-size: var(--text-2xl);
    color: var(--text-color-white);
}

/* text highlight */
.primary-highlight {
    background: linear-gradient(to right, #0051BA, #FFFFFF, #FCD116, #215B33);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

}


.secondary-highlight {
    background: linear-gradient(90deg, hsla(0, 65%, 51%, 1) 10%, hsla(0, 100%, 77%, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-btn {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: var(--text-lg);
    font-weight: 400;
    padding: 8px 24px;
    border: none;
    background: var(--primary-color);
    /* border: 4px solid var(--accent-color); */
    border-radius: 12px;
    text-transform: uppercase;
    transition: 0.3s ease;
    cursor: pointer;
    color: var(--text-color);
}

.hero-btn a {
    color: var(--text-color-dark);
    text-decoration: none;
    text-transform: capitalize;
}

.hero-btn:hover {
    box-shadow: 2px 3px 2px 3px var(--accent-color-2, 0.6);
}

.span-911 {
    font-weight: 400px;
    font-family: var(--font-primary);
}


/* ------emergency contacts section ------*/

.services-container {
    /* background-image: url(images/sol-fingerprint.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; */
    background: var(--main-bg-color);
    padding-top: 60px;
    padding-bottom: 60px;

}

.emergency-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-heading {
    grid-column: 1 / -1;
    text-align: center;
}

.services-heading h2 {
    font-size: var(--text-3xl);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.contact-card h2,
.contact-card h3 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 200;
    font-size: var(--text-sm);
}

.contact-card {
    background: var(--color-foreground);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-card h2 {
    font-size: var(--text-xl);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-card div {
    margin: 6px;
}

.contact {
    text-align: center;
}


.contact a {
    border: 3px solid #D32F2F;
    transition: ease 0.3s;
    cursor: pointer;
    border-radius: 18px;
    padding: 0.625rem;
    text-decoration: none;
    color: var(--text-color);
    display: inline-block;
    width: 75%;
    font-family: var(--font-secondary);
    font-weight: 600px;
}

.contact a:hover {
    border-color: #D32F2F;
    box-shadow: 0 0 10px #D32F2F,
        inset 0 0 10px #D32F2F;
}

.contact-card-note {
    font-size: var(--text-xs);
    color: var(--text-color-white);
    font-family: var(--font-secondary);
    padding: 2rem 0rem 0rem 0rem;
    text-align: center;

}




/* Quote Section */

.quote-container {
    min-height: 25vh;
    /* this ensure the container grow with screen size */
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    margin: 0em 4em;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sol-fingerprint {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.quote-container h2 {
    color: var(--text-color);
    font-size: var(--text-2xl);
    line-height: 1.4;
    z-index: 2;

}

/* visitor counter UI styling */
.visitor-counter-section {
    text-align: center;
    margin: 4em 0;

}

.visitor-counter-section .label {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--text-color);
}

#visitor-count {
    font-size: 1.5rem;
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--text-color);
    margin-top: 10px;
    display: inline-block;
    padding: 4px 9px;
    border-radius: 50px;
    background-color: var(--accent-color-2);
}



/* Disclaimer Drop Down Menu Styling */

.dis-dropdown {
    color: var(--text-color);
    font-family: var(--font-secondary);
    letter-spacing: 1.5px;
    text-decoration: underline;
    font-weight: 200;
    position: relative;
    display: inline-block;
    cursor: pointer;
    z-index: 1000;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 170px;
    background-color: whitesmoke;
    padding: 12px 16px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
    z-index: 1;

}

.dropdown-content p {
    color: #333;
    padding: 4px;
}

.dis-dropdown:hover .dropdown-content {
    display: block;
}


/* footer section */

footer {
    position: relative;
    font-family: var(--font-primary);
    color: var(--text-color);
    padding: 24px;
    background-color: var(--color-foreground);
    margin: 1.5em 4em;
    border-radius: 7px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    /* background-image removed, now handled by ::before */
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/circular-design.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 1;
}


.footer-grid {
    display: flex;
    justify-content: space-around;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-col h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.footer-links {
    line-height: 1.6;
}

.footer-links li a {
    font-size: 0.94rem;
    color: var(--text-color-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-color-2);
}

.address {
    color: #333;
}

/* Social Media Icons Styling */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0.7rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 30%;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 1.25rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Individual social media colors on hover */
.social-link:hover i.fa-facebook-f {
    color: #1877f2;
}

.social-link:hover i.fa-envelope {
    color: #e4d940;
}

.social-link:hover i.fa-whatsapp {
    color: #25d366;
}

.social-link:hover i.fa-instagram {
    color: #e4405f;
}


.footer-bottom {
    display: flex;
    gap: 10px;
    justify-content: center;
    border-top: 1px solid grey;
    padding-top: 1em;
}

.footer-bottom p {
    color: #333;
    margin-left: auto;
}





/* --- Modern About Section --- */
.about-section {
    margin-top: 60px;
    padding: 4rem 1rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content h1 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    color: #222;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.about-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.08);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    border: 1px solid #f0f1f3;
    transition: box-shadow 0.2s, transform 0.2s;
}

.about-card:hover {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
    transform: translateY(-3px) scale(1.01);
}

.about-card i {
    font-size: 1.3rem;
    color: #fff;
    background: var(--accent-color);
    border-radius: 50%;
    padding: 0.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5em;
    min-height: 2.5em;
    box-shadow: 0 2px 8px rgba(233, 7, 2, 0.08);
}

.about-card h2 {
    color: #222;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
    margin-top: 0.1rem;
}

.about-card p {
    color: #555;
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
}

/* --- Modern FAQ Section --- */
.faq-section {
    margin-top: 60px;
    padding: 4rem 1rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-content h1 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    color: #222;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.faq-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.08);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    text-align: left;
    border: 1px solid #f0f1f3;
    transition: box-shadow 0.2s, transform 0.2s;
}

.faq-card:hover {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
    transform: translateY(-3px) scale(1.01);
}

.faq-card h2 {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
    margin-top: 0.1rem;
}

.faq-card p {
    color: #555;
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
}

/* =============================
   CONTACT PAGE STYLES
   ============================= */
.contact-section {
    margin-top: 50px;
    min-height: 100vh;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-content h1 {
    text-align: center;
    color: var(--text-color-dark);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.info-card h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.info-card p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.info-card .fb-link {
    text-decoration: none;
    color: #666;
    cursor: pointer;
}

.contact-form {
    background: var(--color-foreground);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;

}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: var(--text-color-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    font-family: var(--font-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

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

.submit-btn {
    /* background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 100%); */
    background: var(--accent-color-2);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 1rem;

}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
    background: linear-gradient(135deg, #ffd54f 0%, var(--accent-color) 100%);
}

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



/* =============================
    PRIVACY PAGE STYLES
   ============================= */

.terms-container section ul li {
    list-style-type: disc;
}





/* =============================
   RESPONSIVE DESIGN - MEDIA QUERIES
   =============================
   
   Breakpoint Strategy:
   - 1024px: Tablet landscape and smaller desktops
   - 768px:  Tablet portrait and mobile landscape
   - 600px:  Mobile portrait
   - 480px:  Small mobile devices
   ============================= */

/* =============================
   TABLET LANDSCAPE & SMALL DESKTOPS (1024px and below)
   ============================= */
@media (max-width: 1024px) {

    /* Emergency Contacts - 2 columns */
    .emergency-contacts {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        max-width: 100%;
        padding: 2.2rem 1rem;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .info-card {
        flex: 1 1 180px;
        /* reduced flex-basis for better wrapping */
        min-width: 140px;
        max-width: 320px;
        /* add max-width to prevent overflow */
        box-sizing: border-box;
    }

    /* About Page - 2 columns */
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* FAQ Page - Single column */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =============================
   TABLET PORTRAIT & MOBILE LANDSCAPE (768px and below)
   ============================= */
@media (max-width: 768px) {

    /* Navigation - Mobile Menu */
    .hamburger {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 60px;
        left: -280px;
        width: 280px;
        height: calc(100vh - 60px);
        background-color: var(--primary-color);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.15);
        border-radius: 0 8px 8px 0;
    }

    .menu-links {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 2rem 0;
        gap: 0;
        width: 100%;
    }

    .menu-links li {
        width: 100%;
    }

    .menu-links a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        text-align: left;
        font-weight: 500;
    }

    .menu-links a:hover {
        background-color: #f8f9fa;
        color: var(--accent-color);
        padding-left: 2.5rem;
    }

    /* Show menu when open class is applied */
    .menu.open {
        left: 0;
    }

    /* Hamburger animation when menu is open */
    .hamburger[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .hamburger[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Ensure logo and hamburger are visible */
    .logo a {
        color: #333;
        font-weight: 800;
    }

    .hamburger span {
        background-color: #333;
    }


    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    /* Quote Section */
    .quote-container {
        margin: 0 2rem;
        padding: 1.5rem;
    }

    .quote-container h2 {
        font-size: 1.5rem;
    }

    .sol-fingerprint {
        left: 10%;
        height: 5rem;
        width: 5rem;
    }
}

/* =============================
   MOBILE PORTRAIT (600px and below)
   ============================= */
@media (max-width: 600px) {

    /* Navigation adjustments */
    .logo {
        margin-left: 1rem;
    }

    .hamburger {
        margin-right: 0.5rem;
    }

    .menu-links a {
        padding: 1rem 1rem;
        font-size: 1rem;
    }

    /* Hero Section - Smaller text */
    .hero-section {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 60px;
    }

    .hero-content h3 {
        font-size: 1rem;
        margin-bottom: 30px;
    }



    /* Emergency Contacts - Single column */
    .emergency-contacts {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-card h2 {
        font-size: 1.1rem;
    }

    .contact-card h3 {
        font-size: 0.9rem;
    }

    .contact a {
        font-size: 0.9rem;
    }

    /* Contact Page */
    .contact-section {
        padding: 2rem 0.5rem;
    }

    .contact-content h1 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.2rem 0.5rem;
    }

    .info-card {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .contact-grid {
        gap: 1.2rem;
    }

    /* About Page */
    .about-section {
        padding: 2rem 0.5rem;
    }

    .about-content h1 {
        font-size: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .about-card {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        gap: 0.7rem;
    }

    /* FAQ Page */
    .faq-section {
        padding: 2rem 0.5rem;
    }

    .faq-content h1 {
        font-size: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .faq-card {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }

    /* Quote Section */
    .quote-container {
        margin: 0 1rem;
        padding: 1rem;
    }

    .quote-container h2 {
        font-size: 1.2rem;
    }


    /* Footer adjustments */
    .footer-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Social Media Icons - Mobile adjustments */
    .social-links {
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .social-link i {
        font-size: 1.1rem;
    }

    /* Services container */
    .services-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* =============================
   MEDIUM MOBILE DEVICES (490px and below)
   ============================= */
@media (max-width: 490px) {

    /* Footer overflow fix */
    footer {
        margin: 1.5em 1em;
        padding: 20px 15px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-col h3 {
        font-size: 1.7rem;
        margin-bottom: 0.5rem;
    }

    .footer-links li a {
        font-size: 0.8rem;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
        margin-top: 0.8rem;
    }

    .social-link {
        width: 33px;
        height: 33px;
    }

    .social-link i {
        font-size: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-bottom p {
        margin: 0;
        font-size: 0.9rem;
    }
}

/* =============================
   SMALL MOBILE DEVICES (480px and below)
   ============================= */
@media (max-width: 480px) {

    /* Navigation - Tighter spacing */
    .logo {
        margin-left: 0.5rem;
    }

    .emergency-contacts {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    .hamburger {
        margin-right: 0.5rem;
    }

    .menu-links a {
        padding: 0.8rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Hero Section - Even smaller text */
    .hero-section {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .hero-content h3 {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* Emergency Contacts - Tighter spacing */
    .emergency-contacts {
        gap: 0.8rem;
        padding: 0 0.3rem;
    }

    .contact-card {
        padding: 0.8rem;
    }

    .contact-card h2 {
        font-size: 1rem;
    }

    .contact-card h3 {
        font-size: 0.8rem;
    }

    .contact a {
        font-size: 0.8rem;
    }

    /* Quote Section */
    .quote-container {
        margin: 0 0.5rem;
        padding: 0.8rem;
    }

    .quote-container h2 {
        font-size: 1rem;
    }


    /* Visitor Counter */
    .visitor-counter-section {
        padding: 1rem 0.5rem;
    }

    .visitor-counter-section .label {
        font-size: 0.9rem;
    }

    #visitor-count {
        font-size: 1.2rem;
    }

    /* Footer - Extra small mobile adjustments */
    footer {
        margin: 1.5em 0.5em;
        padding: 15px 10px;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-links li a {
        font-size: 0.85rem;
    }

    /* Social Media Icons - Small mobile adjustments */
    .social-links {
        gap: 0.8rem;
        margin-top: 0.8rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }

    .social-link i {
        font-size: 1rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* =============================
   SMALL MOBILE DEVICES (480px and below)
   ============================= */
@media (max-width: 480px) {

    .contact a {
        font-size: 0.8rem;
        width: 65%;
        /*width of red border */
    }

    .contact {
        padding: 0.625rem;
    }

    .footer {
        margin: 0.9rem 1.7rem;
    }

    .sol-fingerprint {
        left: 10%;
        height: 5rem;
        width: 5rem;
    }


}