:root {
    --primary: #f62c8a;
    --secondary: #dba934;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --warning: #f39c12;
    --gradient: linear-gradient(135deg, #f62c8a, #dba934);
    --gradient-accent: linear-gradient(135deg, #e74c3c, #c0392b);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Navbar Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar-brand i {
    color: var(--primary);
    margin-right: 10px;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand:hover i {
    transform: rotate(15deg);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover:after {
    width: 100%;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    cursor: pointer;
}

.btn-primary-custom:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-accent);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.btn-primary-custom:hover:before {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 180px 0 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 25px auto 0;
    font-size: 1.1rem;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
}

.about-img {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.about-img:hover {
    transform: perspective(1000px) rotateY(0);
}

.about-text {
    padding-left: 50px;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.services:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
    top: -150px;
    right: -150px;
}

.services:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.1);
    bottom: -100px;
    left: -100px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 25px;
    font-size: 35px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card h4 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.4rem;
}

.service-card p {
    text-align: center;
    padding: 0 25px;
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.service-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 30px;
    text-align: center;
    transform: translateY(20px);
}

.service-card:hover .service-hover {
    opacity: 1;
    transform: translateY(0);
}

.service-hover h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-hover ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-hover ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    text-align: left;
}

.service-hover ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Why Choose Us */
.feature-box {
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    transition: var(--transition);
    margin-bottom: 30px;
    background: white;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transition: var(--transition);
    z-index: -1;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-box:hover:before {
    height: 100%;
}

.feature-box:hover .feature-icon,
.feature-box:hover h4,
.feature-box:hover p {
    color: white;
}

.feature-icon {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    transition: var(--transition);
}

.feature-box h4 {
    margin-bottom: 15px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-box p {
    color: #666;
    transition: var(--transition);
}

/* Newsletter */
.newsletter {
    background: var(--gradient);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.newsletter:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -150px;
    left: -150px;
}

.newsletter:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -100px;
    right: -100px;
}

.newsletter-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.form-control {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 2px solid #eee;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Blog Section */
.blog-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    background: white;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-img:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.blog-card:hover .blog-img:before {
    opacity: 1;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-content h4 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.4rem;
}

.blog-meta {
    display: flex;
    margin-bottom: 15px;
    color: #777;
    font-size: 0.9rem;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--secondary);
}

.blog-excerpt {
    color: #666;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    padding: 25px;
    font-weight: 600;
    background: white;
    border: none;
    box-shadow: none;
    font-size: 1.1rem;
    color: var(--primary);
}

.accordion-button:not(.collapsed) {
    background: white;
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: scale(1.5);
}

.accordion-body {
    padding: 25px;
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info {
    padding: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    height: 90%;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 0;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--accent);
    bottom: 0;
    left: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-about p {
    color: #bbb;
    margin-top: 20px;
    line-height: 1.8;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: #bbb;
}

.social-links {
    display: flex;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Overlay Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px) scale(0.9);
    transition: transform 0.5s;
}

.overlay.active .overlay-content {
    transform: translateY(0) scale(1);
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #777;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-overlay:hover {
    color: var(--accent);
    background: #f5f5f5;
}

.blog-full img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.alert-overlay {
    background: white;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.alert-icon {
    font-size: 70px;
    color: var(--success);
    margin-bottom: 25px;
    animation: pulse 1.5s infinite;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding-left: 0;
        margin-top: 50px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 150px 0 120px;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .newsletter-form,
    .contact-form {
        padding: 30px 25px;
    }

    .contact-info {
        padding: 30px 25px;
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .overlay-content {
        padding: 30px 20px;
    }
}