/* Variables */
:root {
    --dark-blue: #0D8BCE;
    --light-blue: #039BE5;
    --white: #ffffff;
    --black: #000000;
    --gray: #f4f7f9;
    --text-color: #4a4a4a;
}

body { font-family: 'Inter', sans-serif; color: var(--text-color); margin: 0; padding: 0; }
.container-1200 { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.gray-bg { background: var(--gray); }
.text-blue { color: var(--light-blue); }

/* --- CRITICAL UTILITY CLASSES ADDED --- */
.text-center { text-align: center; }
.mb-50 { margin-bottom: 50px; }
.mt-40 { margin-top: 40px; }
.m-0 { margin: 0; }
.relative { position: relative; }
.border-none { border: none; }
.cursor-pointer { cursor: pointer; }
.bold-link { color: var(--dark-blue); font-weight: 600; text-decoration: none; }

/* Buttons */
.btn-primary { 
    background: var(--dark-blue); 
    color: var(--white); 
    padding: 15px 35px; 
    border-radius: 5px; 
    font-weight: 700; 
    text-decoration: none; 
    display: inline-block; 
    transition: all 0.3s ease; 
}
.btn-primary:hover { 
    background: var(--light-blue); 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(3, 155, 229, 0.3);
}

.nav-btn {
    background: #fff; border: 1px solid #ddd; width: 40px; height: 40px; 
    border-radius: 50%; display: inline-flex; justify-content: center; align-items: center;
    cursor: pointer; transition: 0.3s; color: var(--dark-blue);
}
.nav-btn:hover { background: var(--dark-blue); color: #fff; border-color: var(--dark-blue); }

/* Hero Section */
.hero { position: relative; }
.hero .slider { height: 700px; position: relative; overflow: hidden; }
.slide { position: absolute; inset:0; opacity:0; transition: opacity 0.8s ease-in-out; }
.slide.active { opacity:1; z-index: 1; }
.slide img { width:100%; height:100%; object-fit:cover; display: block; }
.slide-overlay { position:absolute; inset:0; background: rgba(0,0,0,0.2); z-index: 1;}
.slide-content { position:absolute; top:45%; left:50%; transform:translate(-50%, -50%); text-align:center; color:#fff; z-index:2; width: 90%; max-width: 800px; }
.slide-content h1 { font-size: 52px; font-weight: 800; margin-bottom: 25px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0px 0px 20px rgba(0, 0, 0, 0.6); }

/* Missing Hero Controls Styling */
.slider__nav {
    position: absolute; top: 47%; transform: translateY(-50%);
    background: rgba(0,0,0,0.4); border: none; color: #fff;
    width: 45px; height: 45px; font-size: 20px; cursor: pointer;
    z-index: 10; border-radius: 50%; transition: background 0.3s ease;
}
.slider__nav:hover { background: var(--dark-blue); }
.slider__prev { left: 20px; }
.slider__next { right: 20px; }

/* Sections Global */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.section-title { font-size: 36px; color: var(--black); margin: 0; font-weight: 800; }
.header-centered { justify-content: center; position: relative; }
.absolute-controls { position: absolute; right: 0; }

/* Sliders global track */
.offers-window, .testimonials-window { overflow: hidden; margin: 0 -10px; }
.offers-track, .testimonials-track { display: flex; transition: transform 0.5s ease-in-out; }

/* Offer Cards */
.offer-card-wrapper { flex: 0 0 calc(100% / 3); max-width: calc(100% / 3); padding: 10px; box-sizing: border-box; }
.offer-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.06); position: relative; border: 1px solid #eee; transition: 0.3s;}
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.offer-badge { position: absolute; top: 15px; left: 15px; background: #e74c3c; color: #fff; padding: 6px 15px; border-radius: 20px; font-weight: 800; z-index: 2; font-size: 14px; }
.offer-card img { width: 100%; height: 200px; object-fit: cover; }
.offer-content { padding: 25px; }
.offer-content h3 { margin: 0 0 10px; font-size: 20px; color: var(--black); }
.offer-content p { color: #666; font-size: 14px; margin-bottom: 15px; line-height: 1.5; }
.offer-link { color: var(--dark-blue); font-weight: 700; text-decoration: none; font-size: 15px; display: inline-block; transition: 0.3s;}
.offer-link:hover { color: var(--light-blue); transform: translateX(5px); }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hidden-service { display: none; }
.service-card-item { height: 100%; }
.service-card-inner { background: #fff; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid #eee; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.03);}
.service-card-inner:hover { transform: translateY(-5px); border-color: var(--light-blue); box-shadow: 0 10px 20px rgba(13, 139, 206, 0.1); }
.s-img { height: 180px; overflow: hidden; }
.s-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card-inner:hover .s-img img { transform: scale(1.08); }
.s-info { padding: 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.s-info h3 { font-size: 17px; color: var(--black); margin: 0 0 10px 0; font-weight: 700; }
.s-btn { color: var(--light-blue); font-size: 14px; font-weight: 700; text-transform: uppercase; margin-top: auto;}

/* Testimonials Card */
.testimonial-card-wrapper { flex: 0 0 calc(100% / 3); max-width: calc(100% / 3); padding: 0 10px; box-sizing: border-box; }
.testimonial-card { background: #fff; padding: 35px 30px; border-radius: 12px; border-bottom: 4px solid var(--light-blue); box-shadow: 0 5px 20px rgba(0,0,0,0.05); height: 100%; display: flex; flex-direction: column; }
.testimonial-card p { font-style: italic; color: #555; line-height: 1.7; margin: 20px 0; flex-grow: 1; font-size: 15px;}
.stars { color: #f1c40f; font-size: 20px; letter-spacing: 2px;}
.user-meta strong { display: block; color: var(--black); font-size: 16px; margin-bottom: 3px;}
.user-meta span { color: #888; font-size: 13px; }

/* Blog Section */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.modern-blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; display: flex; flex-direction: column;}
.modern-blog-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.blog-img-wrapper { position: relative; height: 220px; overflow: hidden; display: block; }
.blog-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.modern-blog-card:hover .blog-img-wrapper img { transform: scale(1.05); }
.blog-date { position: absolute; bottom: 15px; left: 15px; background: var(--dark-blue); color: #fff; padding: 8px 12px; border-radius: 8px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 2;}
.blog-date .day { display: block; font-size: 20px; font-weight: 800; line-height: 1; }
.blog-date .month { display: block; font-size: 12px; text-transform: uppercase; font-weight: 600; margin-top: 2px; }
.blog-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-category { color: var(--light-blue); font-size: 12px; text-transform: uppercase; font-weight: 700; margin: 0 0 10px 0; letter-spacing: 1px; }
.blog-body h4 { margin: 0 0 15px 0; font-size: 20px; line-height: 1.4; }
.blog-body h4 a { color: var(--black); text-decoration: none; transition: 0.3s; }
.modern-blog-card:hover .blog-body h4 a { color: var(--dark-blue); }
.blog-excerpt { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.blog-read-more { color: var(--black); font-weight: 700; text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; transition: 0.3s; margin-top: auto;}
.blog-read-more .arrow { margin-left: 5px; transition: transform 0.3s; color: var(--light-blue); }
.blog-read-more:hover { color: var(--dark-blue); }
.blog-read-more:hover .arrow { transform: translateX(5px); }

/* =========================================
   SUPER RESPONSIVE MEDIA QUERIES
   ========================================= */

/* Tablets and Laptops (768px to 1024px) */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .offer-card-wrapper { flex: 0 0 50%; max-width: 50%; }
    .testimonial-card-wrapper { flex: 0 0 50%; max-width: 50%; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .hero .slider { height: 500px; }
    .section-padding { padding: 60px 0; }
}

/* Mobile Devices (Max width 767px) */
@media (max-width: 767px) {
    .services-grid { grid-template-columns: 1fr; }
    .offer-card-wrapper { flex: 0 0 100%; max-width: 100%; }
    .testimonial-card-wrapper { flex: 0 0 100%; max-width: 100%; }
    .blog-grid { grid-template-columns: 1fr; }
    
    .hero .slider { height: 450px; }
    .slide-content h1 { font-size: 28px; margin-bottom: 15px; }
    .btn-primary { padding: 12px 25px; font-size: 15px; }
    .slider__nav { margin-top: 40px; width: 35px; height: 35px; font-size: 16px; }
    
    .section-padding { padding: 50px 0; }
    .section-title { font-size: 28px; }
    
    /* Fix section headers stacking on mobile */
    .section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .header-centered { align-items: center; text-align: center; }
    .absolute-controls { position: static; margin-top: 10px; }
    .slider-controls { align-self: flex-end; }
    .header-centered .slider-controls { align-self: center; }
}