@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #1A2E40;
    --secondary-color: #00BCD4;
    --accent-color: #ff9900;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}


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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: url('media/TableMountain_clear.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #1A2E40;
    padding-top: 60px;
}

.desktop-hero {
    display: flex; 
    justify-content: center; 
    align-items: center;
    flex-direction: row;
    margin-top: -20rem;
}

.mobile-hero {
    display: none;
}

.progress-div {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-direction: row; 
    margin-top: 20rem; 
    width: 30rem;
}

/* Mobile Hero Display */
@media (max-width: 768px) {
    .desktop-hero {
        display: none;
    }

    .mobile-hero {
        width: 100%;
        display: block;
        padding: 2rem;
    }

    .mobile-hero h1 {
        font-size: 2rem;
        color: var(--secondary-color);
        margin: 0;
        text-align: center;
    }

    .progress-div {
        display: none;
    }
}

.emergency-contact {
    margin-top: 2rem;
}

.emergency-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.25rem;
    transition: background-color 0.3s ease;
}

.emergency-button:hover {
    background-color: #e68a00;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 17rem);
    gap: 1rem;
    width: 100%;
}

.service-card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-info {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.contact-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-card p {
    font-weight: 300;
    margin: 0;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: none;
    color: var(--secondary-color);
    text-decoration: none;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    margin: 0 auto;
}

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

.btn img {
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Progress Steps */
.progress-steps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress-step {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.progress-step::before {
    content: '';
    position: absolute;
    left: 0.95rem;
    top: 3.7rem;
    bottom: -4rem;
    width: 0.2rem;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.progress-step.completed::before {
    background-color: var(--secondary-color);
    opacity: 1;
}

.progress-step:last-child::before {
    display: none;
}

.step-indicator {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.progress-step.completed .step-indicator {
    background-color: var(--secondary-color);
}

.progress-step:not(.completed) .step-indicator {
    background-color: var(--primary-color);
}

.step-indicator i {
    font-size: 1.2rem;
    color: white;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.progress-step.completed .step-content h3 {
    color: var(--secondary-color);
}

.step-content p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.8;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation Menu */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Mobile Navigation */
.menu-btn {
    display: none;
    cursor: pointer;
}

.menu-btn i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hide logo text on mobile */
.logo h1 {
    display: block;
}

@media (max-width: 768px) {
    .logo h1 {
        display: inline-block; /* Changed from none to show text on mobile */
        font-size: 1.2rem; /* Slightly smaller on mobile */
    }
    
    .logo img {
        height: 40px;
    }
    
    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 0.5rem 0;
        display: block;
    }

    .hero {
        padding-top: 0;
        background: none;
    }

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

    .hero p {
        font-size: 1.2rem;
    }

    .hero .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0;
        padding: 2rem 1rem;
        width: 100%;
        max-width: 600px;
    }

    .hero .container > div {
        width: 100%;
        padding: 1rem;
        margin: 1rem 0;
    }

    .hero .container h5 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .hero .container span {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero .container p {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center;
    }

    .hero .progress-container {
        display: none;
    }

    .progress-bar-container {
        display: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        text-align: center;
        padding: 1.5rem;
    }

    .service-card img {
        margin: 0 auto;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .column {
        padding: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .social-links {
        margin-top: 1rem;
        gap: 1rem;
    }

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

    .contact-card {
        text-align: center;
    }

    .contact-card img {
        margin: 0 auto;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 0.5rem 0;
        display: block;
    }

    .hero {
        padding-top: 0;
        background: none;
    }

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

    .hero p {
        font-size: 1.2rem;
    }

    .hero .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0;
        padding: 2rem 1rem;
    }

    .hero .progress-container {
        margin-top: 2rem;
        width: 100%;
    }

    .progress-bar-container {
        width: 100%;
        max-width: 300px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        text-align: center;
        padding: 1.5rem;
    }

    .service-card img {
        margin: 0 auto;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .column {
        padding: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .social-links {
        margin-top: 1rem;
        gap: 1rem;
    }

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

    .contact-card {
        text-align: center;
    }

    .contact-card img {
        margin: 0 auto;
    }
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
}

.progress-bar-container {
    background-color: #D1D5DB;
    opacity: 0.59;
    border-radius: 10px;
    height: 30px;
    width: 100%;
    max-width: 600px;
    margin: 1rem auto;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    background-color: var(--secondary-color);
    height: 100%;
    width: 0;
    transition: width 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

#progressText {
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

/* Steering Committee Content */
.committee-content {
    display: flex;
    gap: 2rem;
}

.committee-column {
    flex: 1;
}

@media (max-width: 768px) {
    .committee-content {
        flex-direction: column;
    }

    .committee-column {
        width: 100%;
    }
}

/* Committee Member Cards */
.committee-member {
    position: relative;
    transition: transform 0.3s ease;
    overflow: hidden;
}


.committee-member img {
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.committee-member h3 {
    margin-top: 1rem;
    transition: color 0.3s ease;
}

/* Hover Overlay */
.committee-member::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Member Details */
.committee-member .member-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--text-color);
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.Benefits_of_CID {
    border-right: 1px solid var(--secondary-color);
    padding-right: 1rem;
}

/* Progress Steps */
.desktop-progress {
    display: block;
}

.mobile-progress-steps {
    display: none;
}

/* Mobile Progress Steps Styling */
.mobile-progress-steps {
    text-align: center;
    padding: 2rem 1rem;
}

.mobile-progress-steps h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.mobile-progress-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-progress-steps li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-progress-steps li i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

/* Mobile Survey Styles */
.desktop-survey {
    display: block;
}

.mobile-survey {
    display: none;
}

.mobile-survey .survey-container {
    padding: 2rem 1rem;
}

.mobile-survey-content {
    text-align: center;
}

.mobile-survey .survey-text {
    margin-bottom: 2rem;
    text-align: left;
}

.mobile-survey .survey-topics {
    margin: 2rem 0;
    text-align: left;
}

.mobile-survey h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.mobile-survey ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-survey li {
    padding: 1rem;
    border-bottom: 1px solid var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-survey li img {
    width: 24px;
    height: 24px;
}

.mobile-survey li span {
    flex: 1;
}

@media (max-width: 768px) {
    .Benefits_of_CID {
        border-right: none;
    }

    .desktop-survey {
        display: none;
    }

    .desktop-progress {
        display: none;
    }

    .mobile-survey {
        display: block;
    }

    .mobile-progress-steps {
        display: block;
    }
}