/* --- Universal Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(120deg, #f8fafd 0%, #e0f7fa 100%);
    color: #1a237e;
    min-height: 100vh;
    line-height: 1.6;
    transition: background 0.4s;
}

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    background: linear-gradient(90deg, #ffffff 70%, #e3f2fd 100%);
    box-shadow: 0 2px 16px rgba(0, 123, 255, 0.07);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: fadeInDown 1s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 8px #b2ebf2);
    transition: transform 0.2s;
}

.logo img:hover {
    transform: scale(1.07) rotate(-2deg);
}

header nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

header nav ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 22px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
}

header nav ul li a:hover,
header nav ul li a:focus {
    background: linear-gradient(90deg, #00bcd4 60%, #007bff 100%);
    color: #fff;
    box-shadow: 0 2px 12px #b2ebf2;
}

.header-search {
    display: flex;
    align-items: center;
    margin-left: 24px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 6px rgba(0, 188, 212, 0.08);
    border: 1px solid #b2ebf2;
    padding: 2px 8px;
}

.header-search input[type="search"] {
    padding: 7px 10px;
    border: none;
    border-radius: 15px;
    outline: none;
    font-size: 1em;
    background: transparent;
    width: 120px;
    transition: width 0.3s;
}

.header-search input[type="search"]:focus {
    width: 180px;
    background: #e0f7fa;
}

.header-search button {
    padding: 7px 18px;
    border: none;
    background: linear-gradient(90deg, #00bcd4 60%, #009688 100%);
    color: #fff;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    box-shadow: 0 2px 8px #b2ebf2;
    transition: background 0.2s, box-shadow 0.2s;
}

.header-search button:hover {
    background: linear-gradient(90deg, #009688 60%, #00bcd4 100%);
    box-shadow: 0 4px 12px #b2ebf2;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(120deg, #e0eafc 0%, #cfdef3 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.45;
    z-index: 1;
    background: radial-gradient(circle at 70% 30%, #b2ebf2 0%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: 40px;
    padding: 40px 0;
    background: linear-gradient(120deg, rgba(0, 123, 255, 0.08) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.07);
    animation: fadeInUp 1.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overlay-left,
.hero-overlay-right {
    flex: 1 1 340px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    padding: 40px 24px 32px 24px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: fadeInLeft 1.2s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    font-size: 2.7rem;
    margin-bottom: 18px;
    color: #007bff;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;
    animation: popIn 1.2s;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    80% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content .highlight {
    color: #ff9800;
    background: linear-gradient(90deg, #ffe0b2 60%, #fff3e0 100%);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    animation: highlightGlow 2s infinite alternate;
}

@keyframes highlightGlow {
    from {
        box-shadow: 0 0 0 #ffe0b2;
    }

    to {
        box-shadow: 0 0 16px #ffe0b2;
    }
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 28px;
    color: #333;
    animation: fadeIn 1.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(90deg, #007bff 60%, #00c6ff 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.08);
    transition: background 0.2s, transform 0.2s;
    margin-bottom: 18px;
    border: none;
    animation: fadeIn 1.8s;
}

.hero-btn:hover {
    background: linear-gradient(90deg, #0056b3 60%, #007bff 100%);
    transform: translateY(-2px) scale(1.04);
}

.save-btn {
    display: inline-block;
    margin: 10px 0 0 0;
    padding: 14px 36px;
    background: linear-gradient(90deg, #ff9800 60%, #ffc107 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.08);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    animation: pulse 2s infinite alternate;
}

.save-btn:hover {
    background: linear-gradient(90deg, #ffc107 60%, #ff9800 100%);
    transform: translateY(-2px) scale(1.04);
}

@keyframes pulse {
    from {
        box-shadow: 0 0 0 #ffc107;
    }

    to {
        box-shadow: 0 0 16px #ffc107;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 18px;
    animation: fadeIn 2s;
}

.hero-stats div {
    background: #f5faff;
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.06);
    text-align: center;
    min-width: 90px;
    transition: transform 0.2s;
}

.hero-stats div:hover {
    transform: scale(1.08) rotate(-2deg);
}

.hero-stats strong {
    display: block;
    font-size: 1.3rem;
    color: #007bff;
    font-weight: 700;
}

.hero-stats span {
    font-size: 0.95rem;
    color: #555;
}

/* --- Solar Form --- */
.solar-form {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 32px rgba(0, 188, 212, 0.13), 0 1.5px 8px rgba(0, 123, 255, 0.07);
    border-radius: 18px;
    padding: 32px 28px 24px 28px;
    max-width: 370px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: center;
    position: relative;
    z-index: 3;
    transition: box-shadow 0.2s;
    animation: fadeInRight 1.2s;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.solar-form:hover {
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.18), 0 2px 12px rgba(0, 123, 255, 0.10);
}

.solar-form .form-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #00bcd4;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 1px;
}

.solar-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.solar-form label {
    display: none;
}

.solar-form input,
.solar-form select {
    padding: 11px 14px;
    border: 1.5px solid #b2ebf2;
    border-radius: 8px;
    font-size: 1em;
    background: #f8fafd;
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    line-height: normal;
}

.solar-form input:focus,
.solar-form select:focus {
    border: 1.5px solid #00bcd4;
    background: #e0f7fa;
    box-shadow: 0 2px 8px #b2ebf2;
}

.solar-form select {
    cursor: pointer;
}

.solar-form button[type="submit"] {
    padding: 12px 24px;
    border: none;
    background: linear-gradient(90deg, #007bff 60%, #00c6ff 100%);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    margin-top: 8px;
}

.solar-form button[type="submit"]:hover {
    background: linear-gradient(90deg, #0056b3 60%, #007bff 100%);
    transform: translateY(-2px) scale(1.02);
}

/* --- Features Section --- */
.features-section {
    padding: 60px 0 40px 0;
    background: linear-gradient(120deg, #f8fafd 0%, #e0f7fa 100%);
    text-align: center;
    animation: fadeIn 1.5s;
}

.features-section h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

.features-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.07);
    padding: 28px 22px 22px 22px;
    max-width: 320px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
    animation: fadeInUp 1.2s;
}

.feature-card:hover {
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.13);
    transform: translateY(-4px) scale(1.05) rotate(-1deg);
}

.feature-card img {
    width: 130px;
    height: 130px;
    margin-bottom: 18px;
    filter: drop-shadow(0 2px 8px #b2ebf2);
    transition: transform 0.2s;
    border-radius: 5px;
}

.feature-card img:hover {
    transform: scale(1.12) rotate(-4deg);
}

.feature-card h3 {
    font-size: 1.15rem;
    color: #00bcd4;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    color: #444;
    font-size: 1rem;
}

/* --- Blog Section --- */
.blog-section {
    padding: 50px 0 40px 0;
    background: #fff;
    text-align: center;
    animation: fadeIn 1.7s;
}

.blog-section h2 {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.blog-list {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-card {
    background: #f8fafd;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.06);
    padding: 22px 18px 18px 18px;
    max-width: 340px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    transition: box-shadow 0.2s, transform 0.2s;
    animation: fadeInUp 1.3s;
}

.blog-card:hover {
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.13);
    transform: translateY(-4px) scale(1.04);
}

.blog-card h3 {
    font-size: 1.1rem;
    color: #00bcd4;
    margin-bottom: 8px;
    font-weight: 700;
}

.blog-card p {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.blog-card a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.blog-card a:hover {
    color: #ff9800;
}

/* --- Sidebar Section --- */
.sidebar-section {
    background: linear-gradient(90deg, #e0f7fa 60%, #b2ebf2 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 188, 212, 0.10);
    padding: 36px 32px 28px 32px;
    max-width: 100%;
    width: 100%;
    margin: 48px 0 0 0;
    text-align: center;
    animation: fadeInRight 1.5s;
    box-sizing: border-box;
    transition: box-shadow 0.2s, background 0.2s;
}

.sidebar-section h2 {
    font-size: 1.4rem;
    color: #007bff;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.sidebar-section ul li {
    margin-bottom: 0;
}

.sidebar-section ul li a {
    display: inline-block;
    color: #00bcd4;
    background: #fff;
    padding: 10px 22px;
    border-radius: 22px;
    font-weight: 600;
    font-size: 1.08em;
    text-decoration: none;
    box-shadow: 0 2px 8px #b2ebf2;
    margin: 4px 0;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    border: 2px solid transparent;
}

.sidebar-section ul li a:hover,
.sidebar-section ul li a:focus {
    background: linear-gradient(90deg, #00bcd4 60%, #007bff 100%);
    color: #fff;
    box-shadow: 0 4px 16px #b2ebf2;
    border: 2px solid #00bcd4;
    transform: translateY(-2px) scale(1.04);
}

.sidebar-contact {
    margin-top: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 188, 212, 0.08);
    padding: 18px 10px 12px 10px;
    display: inline-block;
    min-width: 220px;
    animation: fadeInUp 1.2s;
}

.sidebar-contact h3 {
    font-size: 1.08rem;
    color: #ff9800;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sidebar-contact p {
    font-size: 1rem;
    margin-bottom: 4px;
    color: #333;
}

.sidebar-contact a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.sidebar-contact a:hover {
    color: #ff9800;
}

/* Responsive for sidebar-section */
@media (max-width: 900px) {
    .sidebar-section {
        max-width: 100vw;
        width: 100vw;
        margin: 32px 0 0 10px;
        border-radius: 0;
        padding: 24px 4vw 18px 4vw;
    }

    .sidebar-section ul {
        gap: 18px;
    }

    .sidebar-contact {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .sidebar-section {
        padding: 14px 2vw 12px 2vw;
        border-radius: 0;
    }

    .sidebar-section h2 {
        font-size: 1.1rem;
    }

    .sidebar-section ul {
        gap: 10px;
    }

    .sidebar-section ul li a {
        font-size: 1em;
        padding: 8px 10px;
    }

    .sidebar-contact {
        padding: 10px 2px 8px 2px;
        font-size: 0.97em;
    }
}

/* --- Footer --- */
footer {
    background: linear-gradient(90deg, #101010 80%, #007bff 100%);
    color: #fff;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.5s;
    margin-top: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 24px 24px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1 1 260px;
    text-align: left;
}

.footer-logo {
    width: 54px;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 8px #b2ebf2);
}

.footer-brand h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #ffc107;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 0;
}

.footer-links {
    flex: 1 1 180px;
    text-align: left;
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #00c6ff;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: #ffc107;
}

.footer-contact {
    flex: 1 1 220px;
    text-align: left;
}

.footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #00c6ff;
    letter-spacing: 1px;
}

.footer-contact p {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #e0e0e0;
}

.footer-contact a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #fff;
}


.footer-bottom {
    background: rgba(0, 0, 0, 0.18);
    padding: 16px 0 10px 0;
    margin-top: 12px;
}

.footer-bottom p {
    color: #b2ebf2;
    font-size: 0.98rem;
    margin: 0;
    letter-spacing: 1px;
}

/* --- Services Section --- */
.services-section {
    padding: 60px 0 40px 0;
    background: linear-gradient(120deg, #e3f2fd 0%, #f8fafd 100%);
    text-align: center;
    animation: fadeIn 1.5s;
}

.services-section h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

.services-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.07);
    padding: 28px 22px 22px 22px;
    max-width: 300px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
    animation: fadeInUp 1.2s;
}

.service-card:hover {
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.13);
    transform: translateY(-4px) scale(1.05) rotate(-1deg);
}

.service-card img {
    width: 130px;
    height: 130px;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px #b2ebf2);
    transition: transform 0.2s;
    border-radius: 5px;
}

.service-card img:hover {
    transform: scale(1.12) rotate(-4deg);
}

.service-card h3 {
    font-size: 1.12rem;
    color: #00bcd4;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    color: #444;
    font-size: 1rem;
}

/* Responsive for services */
@media (max-width: 900px) {
    .services-grid {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .service-card {
        max-width: 95vw;
    }
}

@media (max-width: 600px) {
    .services-section {
        padding: 30px 0 20px 0;
    }

    .service-card {
        padding: 14px 8px 12px 8px;
        border-radius: 8px;
    }

    .services-section h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 1100px) {
    .hero-overlay {
        max-width: 98vw;
        gap: 20px;
        padding: 24px 0;
    }
}

@media (max-width: 900px) {
    .hero-overlay {
        flex-direction: column;
        gap: 28px;
        padding: 24px 0;
        align-items: center;
    }

    .hero-overlay-left,
    .hero-overlay-right {
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .hero-content,
    .solar-form {
        max-width: 100%;
        width: 100%;
    }

    .solar-form {
        padding: 24px 10px 18px 10px;
    }

    .features-grid,
    .blog-list {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .feature-card,
    .blog-card {
        max-width: 95vw;
    }

    .sidebar-section {
        max-width: 95vw;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 12px;
        padding: 12px 8px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-btn,
    .save-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .solar-form {
        padding: 28px 14px 20px 14px;
    }

    .solar-form .form-title {
        font-size: 1.2rem;
    }

    .solar-form input,
    .solar-form select {
        font-size: 0.9rem;
    }

    .solar-form button[type="submit"] {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    footer h2 {
        font-size: 1.5rem;
    }

    footer p {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {

    .features-section,
    .blog-section {
        padding: 30px 0 20px 0;
    }

    .feature-card,
    .blog-card,
    .sidebar-section {
        padding: 14px 8px 12px 8px;
        border-radius: 8px;
    }

    .features-section h2,
    .blog-section h2 {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn,
    .save-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .solar-form {
        max-width: 100%;
        padding: 18px 4px 12px 4px;
    }

    .solar-form .form-title {
        font-size: 1.1rem;
    }

    .solar-form input,
    .solar-form select {
        font-size: 0.875rem;
    }

    .solar-form button[type="submit"] {
        padding: 8px 14px;
        font-size: 0.875rem;
    }

    footer h2 {
        font-size: 1.3rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}

/* Responsive Navbar Styles */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #007bff;
    cursor: pointer;
    margin-left: 18px;
    z-index: 200;
}

@media (max-width: 900px) {
    header {
        flex-wrap: wrap;
        flex-direction: row;
        align-items: flex-start;
        position: relative;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100vw;
        background: linear-gradient(90deg, #ffffff 80%, #e3f2fd 100%);
        box-shadow: 0 8px 32px rgba(0, 123, 255, 0.07);
        transform: translateY(-200%);
        transition: transform 0.3s;
        z-index: 150;
        padding-bottom: 12px;
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 18px 0;
        align-items: center;
    }

    .main-nav ul li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .main-nav ul li a {
        display: block;
        padding: 16px 0;
        width: 100%;
        border-radius: 0;
        font-size: 1.1em;
    }

    .nav-toggle {
        display: block;
    }

    .header-search {
        width: 100%;
        margin: 8px 0 0 0;
        justify-content: center;
    }
}

/* Add or update in your style.css */

/* Responsive search bar for mobile */
@media (max-width: 900px) {
    .header-search {
        width: 90vw;
        margin: 10px auto 0 auto;
        justify-content: space-between;
        padding: 4px 6px;
        border-radius: 14px;
    }

    .header-search input[type="search"] {
        width: 100px;
        min-width: 0;
        font-size: 0.98em;
        padding: 7px 6px;
    }

    .header-search input[type="search"]:focus {
        width: 140px;
    }

    .header-search button {
        padding: 7px 12px;
        font-size: 0.98em;
    }
}

@media (max-width: 600px) {
    .header-search {
        width: 98vw;
        padding: 2px 2vw;
        border-radius: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .header-search input[type="search"] {
        width: 100%;
        font-size: 0.95em;
        padding: 6px 4px;
        margin-bottom: 0;
        border-radius: 10px;
    }

    .header-search input[type="search"]:focus {
        width: 100%;
    }

    .header-search button {
        width: 100%;
        padding: 8px 0;
        font-size: 0.95em;
        border-radius: 10px;
    }
}

#contact {
    display: none;
    align-items: center;
    justify-content: center;
}

#contact .contact-modal-content {
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.15);
    animation: fadeInUp 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(90deg, #007bff 60%, #00c6ff 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: linear-gradient(90deg, #0056b3 60%, #007bff 100%);
    transform: translateY(-2px);
}

/* Responsive for scroll-to-top button */
@media (max-width: 600px) {
    .scroll-to-top {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    font-size: 3rem;
    color: blue;
}