/* ========================================
   DOT Global Services — Custom Styles
   Modern Professional Theme
   ======================================== */

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #6c757d;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8f9fa;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Spacing */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Typography */
.ls-2 {
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* Navbar */
#mainNav {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

#mainNav.navbar-scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 0.6rem 0;
}

.navbar-brand {
    font-size: 1.4rem;
    color: #fff !important;
}

.brand-accent {
    color: var(--accent);
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.hero-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.6) 100%);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: left;
    padding: 0;
    bottom: auto;
}

.carousel-caption h1 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.carousel-caption p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.carousel-caption .btn {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.4);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--accent);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.12);
    border-color: rgba(13, 110, 253, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #4f8efc);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.5rem;
}

.service-icon.icon-success {
    background: linear-gradient(135deg, var(--success), #34d399);
}

.service-icon.icon-warning {
    background: linear-gradient(135deg, var(--warning), #fbbf24);
}

.service-icon.icon-danger {
    background: linear-gradient(135deg, var(--danger), #f87171);
}

/* About Section */
.about-image-wrapper {
    position: relative;
    height: 450px;
}

.about-image-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    opacity: 0.1;
}

.about-image-fg {
    position: absolute;
    top: 30px;
    left: 0;
    width: 85%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark), #1e293b);
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 2rem;
    background-image: url(../images/about-2.jpg);
    background-size: cover;
}

.stats-box {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-icon {
    width: 48px;
    height: 48px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
}

/* How We Help */
.help-item {
    position: relative;
}

.help-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(13, 110, 253, 0.08);
    line-height: 1;
}

/* Testimonials */
.testimonial-section {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    position: relative;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/testimonial-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.testimonial-card {
    padding: 3rem;
}

.quote-icon {
    color: var(--accent);
    font-size: 3rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author h5 {
    color: #fff;
}

.testimonial-indicators {
    position: relative;
    margin-top: 2rem;
}

.testimonial-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.3);
}

.testimonial-indicators .active {
    background-color: var(--accent);
}

/* Contact */
.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

/* Footer */
.footer {
    background: var(--darker);
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links a {
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
    margin-left: 1rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--accent);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    border: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.35);
    background: linear-gradient(135deg, var(--primary-dark), #1d4ed8);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .about-image-wrapper {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}