/* ========================================== */
/* (c) Mahin Ltd Developed by Tanvir          */
/* ========================================== */

/* --- 1. RESET & VARIABLES --- */
:root {
    --primary-color: #FF6B35; /* The Orange Color */
    --text-dark: #2D3436;
    --text-light: #636e72;
    --bg-white: #ffffff;
    --bg-cream: #FFF8F0; /* Light background for sections */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Utility Classes */
.text-orange {
    color: var(--primary-color);
}

/* --- 2. BUTTON STYLES --- */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background-color: #e85a2a;
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary span {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--primary-color);
}

.btn-white {
    background-color: #fff;
    color: var(--primary-color);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    background-color: #FFF2E5;
    transform: translateY(-2px);
}

/* --- 3. NAVBAR SECTION --- */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    transition: 0.3s;
}

/* Sticky Navbar Style (Added logic for JS) */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: 0.3s;
}

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

/* --- 4. HERO SECTION --- */
.hero-section {
    padding: 60px 0;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 450px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    width: 500px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.circle-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: #FFF2E5;
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- 5. SERVICES SECTION --- */
.services-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-image-wrapper {
    flex: 1;
    text-align: center;
}

.service-image-wrapper img {
    max-width: 100%;
    border-radius: 20px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); 
}

.service-grid {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #FFF2E5;
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    transition: 0.3s;
}

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

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- 6. PORTFOLIO SECTION --- */
.portfolio-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.portfolio-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

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

.portfolio-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.portfolio-card:hover .overlay {
    opacity: 1;
}

.btn-small {
    background: #fff;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.portfolio-info {
    padding: 20px;
    text-align: center;
}

.portfolio-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.portfolio-info span {  
    font-size: 14px;
    color: var(--primary-color);
}

/* Coming Soon / AI Tool Tweaks */
.coming-soon-card .portfolio-img img {
    filter: grayscale(100%);
    transition: 0.5s;
}

.coming-soon-card:hover .portfolio-img img {
    filter: grayscale(0%);
}

.btn-small.disabled {
    background-color: #555;
    cursor: not-allowed;
}

.coming-soon-card .overlay {
    background: rgba(45, 52, 54, 0.9);
}

/* --- 7. ABOUT SECTION --- */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.about-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin: 30px 0 40px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat-item h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.about-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

.dots-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.2;
    right: -20px;
    bottom: -20px;
    z-index: 1;
}

/* --- 8. CTA SECTION --- */
.cta-section {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.cta-container h2 {
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* --- 9. FOOTER SECTION --- */
.footer {
    background-color: #2D3436;
    color: #fff;
    padding-top: 70px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-col p {
    color: #b2bec3;
    line-height: 1.6;
    margin-top: 20px;
}

.footer-col .logo {
    color: #fff;
}

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

.footer-col ul li a {
    color: #b2bec3;
    transition: 0.3s;
}

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

.footer-col ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
}

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

.footer-bottom {
    background-color: #222;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: #636e72;
    font-size: 14px;
    letter-spacing: 1px;
}

/* --- 10. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .services-layout {
        flex-direction: column;
    }
    
    .service-image-wrapper {
        margin-bottom: 40px;
    }

    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .stats-row {
        justify-content: center;
    }
    
    .about-image img {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide menu on mobile for now */
    }
    
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 40px;
    }

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

    .hero-text p {
        margin: 0 auto 30px auto;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }

    .footer-container {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* --- BRAND LOGOS SECTION --- */
.brand-section {
    padding: 40px 0;
    background-color: #FAFAFA; /* Very light gray */
    text-align: center;
    border-bottom: 1px solid #eee;
}

.brand-text {
    color: #b2bec3;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.brand-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
}

.brand-logos i {
    font-size: 40px;
    color: #b2bec3;
    transition: 0.3s;
    cursor: pointer;
}

.brand-logos i:hover {
    color: var(--text-dark); /* Black on hover */
    transform: scale(1.1);
}

/* --- TESTIMONIAL SECTION --- */
.testimonial-section {
    padding: 80px 0;
    background-color: #FDFDFD;
}

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

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

/* Stars */
.stars {
    color: #FFC107; /* Yellow/Gold color for stars */
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

/* Client Info (Photo + Name) */
.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.client-info h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.client-info span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* --- POLICY PAGES STYLING --- */
.policy-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    min-height: 80vh;
}

.policy-container {
    max-width: 800px;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 0 auto; /* Centered */
}

.policy-container h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.last-updated {
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.policy-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.policy-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content ul li {
    margin-bottom: 10px;
    color: #555;
}