
/* Base Styles */
:root {
    --primary-color: #5d9cec;
    --secondary-color: #a0d9d9;
    --accent-color: #5d9cec;
    --dark-color: #1a202c;
    --light-color: #f5f7fa;
    --text-color: #4a5568;
    --rain-color: rgba(174, 214, 241, 0.7);
    --cloud-color: rgba(255, 255, 255, 0.9);
    --section-padding: 100px;
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

/* Background Animation */
.rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: -1;
    pointer-events: none;
}

.rain:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 20"><path fill="%23a0d9d9" d="M5,0l1,5l-1,5l1,5l-1,5"/></svg>') repeat;
    background-size: 1px 20px;
    animation: rain 1s linear infinite;
    opacity: 0.3;
}

@keyframes rain {
    0% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(100vh);
    }
}

/* Cloud Animation */
.clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background-color: var(--cloud-color);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.8;
}

.cloud-1 {
    width: 200px;
    height: 60px;
    top: 15%;
    left: 10%;
    animation: cloudMove 30s linear infinite;
}

.cloud-2 {
    width: 300px;
    height: 100px;
    top: 25%;
    right: 5%;
    animation: cloudMove 40s linear infinite reverse;
}

.cloud-3 {
    width: 150px;
    height: 50px;
    top: 40%;
    left: 30%;
    animation: cloudMove 25s linear infinite;
}

@keyframes cloudMove {
    0% {
        transform: translateX(-100px);
    }

    100% {
        transform: translateX(calc(100vw + 100px));
    }
}

/* Professional Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgb(26, 32, 44);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: white;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand i {
    color: #80bce2;
    /* color: var(--accent-color); */
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand:hover i {
    transform: rotate(15deg);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 12px !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: calc(100% - 24px);
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.btn-contact {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    padding: 8px 22px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    transform: translateY(-7px);
}

.navbar-toggler-icon::after {
    transform: translateY(7px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(26, 32, 44, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 0 0 12px 12px;
        padding: 20px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item {
        margin: 8px 0;
    }

    .nav-link {
        padding: 12px 20px !important;
        margin: 0 !important;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }

    .btn-contact {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}

/* Polished Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    background: linear-gradient(rgba(26, 32, 44, 0.7), rgba(93, 156, 236, 0.2)),
        url('https://images.unsplash.com/photo-1534274988757-a28bf1a57c17?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 0 20px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease-out both;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.3s both;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    margin-top: 30px;
}

/* Primary Button Styles */
.btn-hero-primary {
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 20px rgba(104, 150, 248, 0.678);
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn-hero-primary:hover {
    background-color: transparent;
    border-color: white;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 162, 208, 0.728);
}

/* Outline Button Styles */
.btn-hero-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn-hero-outline:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(104, 150, 248, 0.678);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 12px 24px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

.scroll-indicator i {
    font-size: 1.8rem;
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-indicator:hover i {
    opacity: 1;
    transform: translateY(5px);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* Rain overlay for hero */
.hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 20"><path fill="rgba(255,255,255,0.2)" d="M5,0l1,5l-1,5l1,5l-1,5"/></svg>') repeat;
    background-size: 1px 20px;
    animation: rain 1s linear infinite;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    bottom: -15px;
    left: 0;
    border-radius: 2px;
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 400;
}

.section-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
    opacity: 0.9;
}

/* About Section */
.about-section {
    background-color: white;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(5deg) scale(1.05);
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 10px solid white;
}

.about-image:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Weather Section */
.weather-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.weather-card {
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.weather-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.weather-header {
    padding: 25px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.weather-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.weather-header p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-weight: 300;
}

.weather-body {
    display: flex;
    align-items: center;
    padding: 30px;
}

.weather-icon {
    font-size: 4.5rem;
    margin-right: 30px;
    animation: pulse 2s infinite;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.temperature {
    font-size: 3.8rem;
    font-weight: 300;
    line-height: 1;
}

.weather-info .details {
    margin-top: 15px;
}

.weather-info .details p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.weather-info .details i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

.weather-footer {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tips Section */
.tips-section {
    background-color: white;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tip-card {
    background-color: white;
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

.tip-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tip-card:hover .tip-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(72, 207, 173, 0.4);
}

.tip-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.tip-card p {
    font-size: 1.05rem;
    color: var(--text-color);
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 100px 0 30px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-brand p {
    opacity: 0.8;
    font-weight: 300;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 300;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-social h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(72, 207, 173, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: #5d9cec;
    text-decoration: underline;
}


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

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

/* Responsive Adjustments */
@media (max-width: 1200px) {
    :root {
        --section-padding: 90px;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 600px;
    }

    .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 35px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-section .row {
        flex-direction: column-reverse;
    }

    .about-image {
        margin-bottom: 40px;
    }

    .weather-body {
        flex-direction: column;
        text-align: center;
    }

    .weather-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
