/* CSS Variables */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --secondary-color: #1d3557;
    --accent-color: #457b9d;
    --success-color: #2a9d8f;
    --warning-color: #f4a261;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    --gradient-secondary: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* all section same */
section {
    width: 100%;
    overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transform: rotate(-5deg);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(0deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--dark-color);
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    /* position:relative; */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
    /* position: relative; */
}

/* Hamburger to X animation */

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   Emergency SOS Button
   ======================================== */
.sos-container {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 999;
}

.sos-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 18px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5);
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.sos-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.6);
}

.sos-btn i {
    font-size: 18px;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5);
    }

    50% {
        box-shadow: 0 8px 40px rgba(230, 57, 70, 0.8);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 65px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.title-line {
    display: block;
    color: var(--secondary-color);
}

.title-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 550px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

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

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.floating-card:hover {
    transform: scale(1.1) !important;
    box-shadow: var(--shadow-hover);
}

.floating-card i {
    font-size: 32px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.floating-card span {
    font-weight: 600;
    color: var(--dark-color);
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-1 i {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
}

.card-2 {
    top: 35%;
    left: 5%;
    animation-delay: 1s;
}

.card-2 i {
    background: rgba(42, 157, 143, 0.1);
    color: var(--success-color);
}

.card-3 {
    bottom: 30%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 i {
    background: rgba(244, 162, 97, 0.1);
    color: rgb(198, 47, 47);
}

.card-4 {
    bottom: 10%;
    left: 20%;
    animation-delay: 3s;
}

.card-4 i {
    background: rgba(69, 123, 157, 0.1);
    color: var(--accent-color);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 12px;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {

    0%,
    100% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.5;
        top: 20px;
    }
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title .highlight {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.exp-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
}

.feature-item i {
    color: var(--success-color);
    font-size: 16px;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(193, 18, 31, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 36px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.service-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-dark);
}

.service-features i {
    color: var(--primary-color);
    font-size: 11px;
}

.service-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    display: block;
    text-align: center;
}

.service-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================================
   Impact Section
   ======================================== */
.impact {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.impact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.impact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.impact-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.impact-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.impact-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/*buttons*/

.btn,
button {
    text-align: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}


/* ========================================
   Contact Section
   ======================================== */
.contact {
    display: flex;
    justify-content: center;
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: var(--white);
}

.contact-details {
    width: 100%;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.contact-details p {
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-social i {
    font-size: 18px;
    color: var(--dark-color);
}

.contact-social a:hover i {
    color: var(--white);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    width: 100%;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--dark-color);
    background: #f8f9fa;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--gray);
    pointer-events: none;
    transition: var(--transition);
    background: transparent;
}

.form-group textarea+label {
    top: 20px;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: 0;
    left: 15px;
    font-size: 12px;
    background: var(--white);
    padding: 0 5px;
    color: var(--primary-color);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'><path d='M8 11L3 6h10l-5 5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-color);
    padding: 80px 0 0;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}


.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: var(--gradient-primary);
}

.footer-brand .logo-main {
    color: var(--white);
}

.footer-brand p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 16px;
    color: var(--white);
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}


.footer-newsletter h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-newsletter p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 15px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    margin-top: 2rem;
}

.footer-bottom-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ========================================
   Emergency Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.emergency-alert {
    text-align: center;
    margin-bottom: 30px;
}

.emergency-alert i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: pulse 1s infinite;
}

.emergency-alert h2 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.emergency-alert p {
    font-size: 15px;
    color: var(--gray);
}

.emergency-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.emergency-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.emergency-btn i {
    font-size: 28px;
}

.emergency-btn span {
    font-size: 14px;
    font-weight: 600;
}

.emergency-btn.ambulance {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
}

.emergency-btn.ambulance:hover {
    background: var(--primary-color);
    color: var(--white);
}

.emergency-btn.police {
    background: rgba(29, 53, 87, 0.1);
    color: var(--secondary-color);
}

.emergency-btn.police:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.emergency-btn.fire {
    background: rgba(244, 162, 97, 0.1);
    color: var(--warning-color);
}

.emergency-btn.fire:hover {
    background: var(--warning-color);
    color: var(--white);
}

.emergency-btn.blood {
    background: rgba(42, 157, 143, 0.1);
    color: var(--success-color);
}

.emergency-btn.blood:hover {
    background: var(--success-color);
    color: var(--white);
}

.emergency-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.emergency-info p {
    font-size: 16px;
    color: var(--dark-color);
}

.emergency-info strong {
    color: var(--primary-color);
}

.developer:hover {
    color: hsl(25, 82%, 61%);
}
/* ========================================
   Waste file upload
   ======================================== */
.custom-file-upload {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    background: #fff5f5;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.custom-file-upload:hover {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   Responsive Design
   ======================================== */
/* ========================================
   Responsive Fix (Clean + No Design Change)
   ======================================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================= */

@media (max-width: 992px) {

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    /* HERO FIX */
    .hero {
        flex-direction: column;
        padding: 100px 20px 50px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero-visual {
        display: none;
    }

    /* ABOUT */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* CONTACT */
    .contact-content {
        grid-template-columns: 1fr;
    }

    /* IMPACT */
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================= */

@media (max-width: 768px) {

    .section-title {
        font-size: 32px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        /* was 16px 32px */
        font-size: 13px;
    }

    .btn-login {
        padding: 8px 20px;
        /* reduced */
        font-size: 13px;
        /* smaller text */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .cta-buttons .btn {
        padding: 10px 18px;
        /* compact like GET IN TOUCH */
        font-size: 12px;
        border-radius: 25px;
        width: auto;
        /* IMPORTANT (remove full width) */
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

   .cta-buttons {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 15px;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* FIX spacing issue */
    .section-header {
        margin-bottom: 40px;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    /* SOS Modal Mobile Fix */

    .emergency-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .emergency-btn {
        padding: 12px;
    }

    .emergency-btn i {
        font-size: 20px;
    }

    .emergency-btn span {
        font-size: 12px;
    }

    /* reduce modal size */
    .modal-content {
        padding: 20px;
        width: 90%;
    }

    .emergency-alert h2 {
        font-size: 18px;
    }

    .emergency-alert p {
        font-size: 13px;
    }

    /* Hide back button on mobile */
    .back-btn {
        display: none !important;
    }

}

/* ========================= */

@media (max-width: 480px) {

    .container {
        padding: 0 12px;
    }

    .nav-container {
        padding: 12px 15px;
    }

    .hero {
        padding: 90px 15px 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 24px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 13px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .sos-btn span {
        display: none;
    }
}