/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #008080;
    --secondary-color: #e03121;
    --light-color: #ffffff;
    --dark-color: #333333;
    --gray-color: #f8f9fa;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

.dark-mode {
    --primary-color: #00a0a0; 
    --secondary-color: #FF8C80;
    --light-color: #222222;
    --dark-color: #f0f0f0;
    --gray-color: #2a2a2a;
    --text-color: #f0f0f0;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

section {
    padding: 5rem 0;
    position: relative;
}

.container {
    padding: 0 20px;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* ==== Hide Scroll Bar ==== */
::-webkit-scrollbar{
    display: none;
}

/* ===== NAVBAR STYLES ===== */
#mainNav {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand span.highlight {
    color: var(--secondary-color);
}

.navbar-toggler {
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

.contact-btn {
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 30px;
    padding: 0.5rem 1.5rem !important;
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1rem 0;
    background-color: var(--light-color);
}

.dropdown-item {
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--gray-color);
    color: var(--primary-color);
}

.dark-mode-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #006666 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-text {
    padding: 2rem 0;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.cta-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: large;
    font-weight: 800;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background-color: white;
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.hero-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

lottie-player {
    width: 100%;
    max-width: 500px;
}

.hero-wave {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: var(--light-color);
    overflow: hidden;
}

.service-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--gray-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies-section {
    background-color: var(--gray-color);
    overflow: hidden;
}

.case-study-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-study-image {
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.case-results {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: var(--gray-color);
    border-radius: 10px;
    position: relative;
}

.testimonial:before {
    content: '\201C';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -5px;
    left: 10px;
    opacity: 0.2;
}

.client-info {
    margin-top: 1rem;
    display: block;
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
}

.client-position {
    color: var(--text-color);
    opacity: 0.7;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    background-color: var(--light-color);
    overflow: hidden;
}

.pricing-card {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
    border-top: 5px solid transparent;
    height: 100%;
}

.pricing-card.featured {
    border-top: 5px solid var(--secondary-color);
    transform: scale(1.05);
    z-index: 1;
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: text-top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    padding: 2rem 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 10px;
    color: var(--primary-color);
}

.feature-disabled {
    opacity: 0.5;
}

.feature-disabled i {
    color: #dc3545 !important;
}

.pricing-btn {
    display: block;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

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

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--gray-color);
    overflow: hidden;
}

.contact-info {
    padding-right: 2rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    margin-right: 1rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 0.8rem 0;
    background-color: transparent;
    transition: var(--transition);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.submit-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
}

.newsletter-content {
    padding: 2rem;
    border-radius: 10px;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 30px 0 0 30px;
}

.newsletter-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* ===== FOOTER ===== */
.site-footer {
    background-color: #222222;
    color: white;
    padding: 5rem 0 0;
}

.footer-about h3, .footer-links h3, .footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-about h3 span {
    color: var(--secondary-color);
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.copyright {
    opacity: 0.7;
    margin: 0;
}

.footer-legal {
    text-align: right;
}

.footer-legal a {
    color: white;
    opacity: 0.7;
    margin-left: 1.5rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1199.98px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 991.98px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-section {
        padding-top: 6rem;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .footer-legal {
        text-align: left;
        margin-top: 1rem;
    }
    
    .footer-legal a {
        margin-left: 0;
        margin-right: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding-top: 5rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .service-card, .case-study-card, .pricing-card, .contact-form {
        padding: 1.5rem;
    }
}
