* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #666;
    font-size: 1.05rem;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}
.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #fff;
    color: #007bff;
    border: 1px solid #007bff;
}
.btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
}

.btn-accent {
    background-color: #ff6f00;
    color: #fff;
}
.btn-accent:hover {
    background-color: #e66000;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    margin-left: 15px;
}
.btn-outline:hover {
    background-color: #fff;
    color: #007bff;
}

.navbar {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-links ul {
    list-style: none;
    display: flex;
}

.nav-links ul li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

.nav-buttons .btn {
    margin-left: 10px;
}

.hero {
    background-image: url("photo4.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    max-width: 650px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    color: #f0f0f0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.problems, .solutions, .faq-section {
    padding: 80px 0;
}

.solutions {
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-item .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
}

.features-grid-centered {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.feature-card-new {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    border-left: 4px solid #007bff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-card-new .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card-new h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card-new p {
    color: #666;
    font-size: 0.95rem;
}

.authority-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.authority-content-centered h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.authority-content-centered p {
    margin-bottom: 25px;
    color: #555;
}

.authority-content-centered ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
    display: inline-block;
    text-align: left;
}

.authority-content-centered ul li {
    margin-bottom: 15px;
    color: #444;
    font-weight: 500;
    position: relative;
    padding-left: 30px;
}

.authority-content-centered ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #28a745;
}

.about-us-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 20px auto 0 auto;
}

.about-us-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-us-text p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.team-credit-box {
    background-color: #e7f1ff;
    border-left: 5px solid #007bff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 25px;
    font-size: 1rem;
    color: #333;
    font-style: italic;
}

.faq-section {
    background-color: #f0f4f8;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.faq-container h2 {
    color: #1e3a5f;
    margin-bottom: 30px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}

.faq-toggle-checkbox {
    display: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1.05em;
    cursor: pointer;
    color: #333;
    background-color: #f7f9fc;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9f5ff;
}

.faq-toggle-icon {
    font-size: 1.5em;
    color: #007bff;
    line-height: 1;
    transition: transform 0.3s ease;
    margin-left: 15px;
    font-weight: normal;
}

.faq-toggle-checkbox:checked + .faq-question {
    color: #007bff;
    background-color: #e9f5ff;
}

.faq-toggle-checkbox:checked + .faq-question .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 1em;
    color: #4a4a4a;
    background-color: #fff;
    padding: 0 25px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-toggle-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 15px 25px 25px 25px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

.site-footer {
    background-color: #1A2238;
    color: #F4F4F9;
    padding: 50px 0 25px 0;
    border-top: 3px solid #FF6A3D;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-about h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: #b8c1ec;
}

.hackathon-credit {
    margin-top: 20px;
    font-style: normal;
    font-size: 13px;
    color: rgba(244, 244, 249, 0.6);
}

.footer-links h4, .footer-contact h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a, .footer-contact a {
    text-decoration: none;
    color: #9DAAF2;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #FF6A3D;
    padding-left: 5px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #b8c1ec;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(244, 244, 249, 0.15);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(244, 244, 249, 0.6);
}

@media (min-width: 1200px) {
    .hero .container {
        margin-left: calc((100% - 1200px) / 2);
        margin-right: auto;
    }
}