/* CSS Variables for Theme (Inspired by Best Seller Publishing) */
:root {
    --primary-color: #0b80ba;
    /* Blue */
    --secondary-color: #01838c;
    /* Teal */
    --accent-color: #ee6c4d;
    /* Orange/Coral accent */
    --text-dark: #2b2d3a;
    --text-light: #666666;
    --bg-light: #f4f3ec;
    --white: #ffffff;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 700;
    margin-bottom: 15px;
}

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

ul {
    list-style: none;
}

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.wrap {
    flex-wrap: wrap;
}

.text-center {
    text-align: center;
}

.half-width {
    width: 48%;
}

.py-5 {
    padding: 80px 0;
}

.pt-5 {
    padding-top: 80px;
}

.pb-3 {
    padding-bottom: 30px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 30px;
}

.mt-5 {
    margin-top: 50px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-small {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: capitalize;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-small {
    padding: 8px 15px;
    font-size: 14px;
    background-color: var(--accent-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
}

.btn-small:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* Top Header */
.top-header {
    background-color: #17333c;
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-header .contact-info a {
    color: var(--white);
    margin-right: 20px;
}

.top-header .contact-info a:hover {
    color: var(--accent-color);
}

/* Main Header */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h2 {
    margin: 0;
    font-size: 28px;
    color: #17333c;
}

.logo h2 span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links>li {
    margin: 0 15px;
    position: relative;
}

.nav-links>li>a {
    font-weight: 600;
    color: #17333c;
    font-size: 16px;
    padding-bottom: 5px;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(10px);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 15px;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */




.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1512820790803-83ca734da794?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat;
    padding: 150px 0;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 128, 186, 0.85) 0%, rgba(1, 131, 140, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #00efff;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons a {
    margin-right: 15px;
}

.ratings .stars {
    color: #f1c40f;
    font-size: 18px;
    margin-bottom: 5px;
}

.ratings p {
    font-size: 14px;
    margin: 0;
}

/* Struggles Section */
.struggle-text h2 {
    font-size: 36px;
    color: #17333c;
    margin-bottom: 20px;
}

.struggle-text p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
}

.check-list {
    display: flex;
    flex-wrap: wrap;
}

.check-list li {
    width: 50%;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-dark);
}

.check-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.rounded-img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.shadow-lg {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.section-title {
    font-size: 36px;
    color: #17333c;
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(11, 128, 186, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 20px;
    color: #17333c;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* CTA */
.cta {
    background-color: #00838c;
    color: var(--white);
}

.cta h2 {
    font-size: 36px;
    color: var(--white);
}

.cta-call {
    display: inline-block;
    margin-left: 20px;
    font-size: 18px;
}

.cta-call a {
    color: var(--white);
}

/* Footer */
.footer {
    background-color: #04192e;
    color: #ddd;
}

.footer-col {
    width: 30%;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col h3 span {
    color: var(--primary-color);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.links-col ul li,
.services-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a:hover,
.services-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    animation: slideUp 1s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

/* Responsive */
@media (max-width: 992px) {
    .half-width {
        width: 100%;
    }

    .struggle-img {
        margin-top: 40px;
    }

    .footer-col {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links>li {
        margin: 10px 0;
    }

    .mobile-menu-icon {
        display: block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .hero-text h1 {
        font-size: 36px;
    }
}