/* =====================================================
   All Weather Roofing Ltd - Modern Responsive Stylesheet
   ===================================================== */

/* CSS Variables - New Orange/Black Color Scheme */
:root {
    --primary-color: #1a1a1a;
    --primary-dark: #000000;
    --primary-light: #333333;
    --secondary-color: #FF6B00;
    --secondary-light: #FF8533;
    --secondary-dark: #E55A00;
    --accent-color: #FF6B00;
    --accent-gold: #FF6B00;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --text-grey: #888888;
    --white: #ffffff;
    --light-bg: #F8F9FA;
    --grey-light: #B0BEC5;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* =====================================================
   Header & Navigation
   ===================================================== */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top a {
    color: var(--white);
}

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

.header-top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-main {
    padding: 15px 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.cta-btn {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 12px 25px !important;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.cta-btn:hover {
    background: var(--accent-color);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.cta-btn::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.85) 100%),
                url('../images/banner-1.jpg') center/cover fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--secondary-color) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInLeft 0.8s ease;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background-color: var(--secondary-dark);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
}

/* Attention-Grabbing Wiggle Animation */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

.btn-alert:hover {
    animation: wiggle 0.2s infinite;
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* =====================================================
   Services Section
   ===================================================== */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

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

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card:hover .service-content h3 {
    color: var(--secondary-color);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
}

.service-link:hover {
    gap: 15px;
    color: var(--secondary-dark);
}

/* =====================================================
   Services List Section
   ===================================================== */
.services-list {
    padding: 100px 0;
    position: relative;
}

.services-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banner-1.jpg') center/cover fixed;
    z-index: -1;
    opacity: 0.15;
}

.services-list-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.services-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-text p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.service-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

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

.service-item i {
    color: var(--accent-color);
}

.service-item:hover i {
    color: var(--white);
}

.services-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   Why Choose Us
   ===================================================== */
.why-us {
    padding: 100px 0;
    background: var(--light-bg);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.05;
    pointer-events: none;
}

.why-us .section-header h2 {
    color: var(--primary-color);
}

.why-us .section-header p {
    color: var(--text-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.why-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.why-card:hover {
    background: var(--secondary-color);
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3);
}

.why-card:hover * {
    color: var(--white) !important;
}

.why-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.why-card:hover i {
    transform: scale(1.1);
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.why-card p {
    opacity: 0.9;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: var(--gray-200);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Parallax effect for sections */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-bg {
    position: relative;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* =====================================================
   Footer
   ===================================================== */
footer {
    background: #ffffff;
    color: var(--text-dark);
    padding-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.8;
    color: var(--text-light);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.footer-links ul li a {
    color: var(--text-dark);
    opacity: 0.8;
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
    color: var(--text-dark);
}

.footer-contact a {
    color: var(--text-dark);
    transition: var(--transition);
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* =====================================================
   Page Headers
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(26, 26, 26, 0.9) 100%),
                url('../images/banner-1.jpg') center/cover;
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--secondary-color);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    opacity: 0.8;
}

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

.breadcrumb span {
    opacity: 0.6;
}

/* =====================================================
   About Page
   ===================================================== */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =====================================================
   Contact Page
   ===================================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

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

.submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* =====================================================
   Blog Page
   ===================================================== */
.blog-section {
    padding: 100px 0;
}

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

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    gap: 15px;
    color: var(--secondary-color);
}

/* =====================================================
   Service Detail Pages
   ===================================================== */
.service-detail {
    padding: 100px 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-main h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-main p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-main ul {
    margin: 20px 0;
    padding-left: 0;
}

.service-main ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-main ul li i {
    color: var(--accent-color);
    margin-top: 5px;
}

.service-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sidebar-card ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-card ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sidebar-card ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

.sidebar-card ul li a:hover {
    color: var(--secondary-color);
}

.sidebar-cta {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--white);
}

.sidebar-cta p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.sidebar-cta .btn {
    background: var(--white);
    color: var(--primary-color);
}

/* =====================================================
   Gallery
   ===================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
}

/* =====================================================
   Lightbox - Image Modal
   ===================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
    z-index: 10000;
}

.lightbox-nav:hover {
    color: var(--accent-color);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Clickable images cursor */
.gallery-item img,
.service-section-content img,
.blog-featured-image,
.lightbox-img {
    cursor: zoom-in;
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-content {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }
}

/* Mobile Navigation - Tablet and Below */
@media (max-width: 992px) {
    /* Header adjustments */
    header {
        position: fixed;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .services-list-content,
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-image {
        order: -1;
    }

    /* ==========================================
       MOBILE NAVIGATION - CRITICAL FIXES
       ========================================== */

    /* Show hamburger menu button */
    .menu-toggle {
        display: flex !important;
    }

    /* COMPLETELY HIDE nav-menu on mobile by default */
    .nav-menu {
        display: none !important;
    }

    /* Show menu when active - use flex for vertical layout */
    .nav-menu.active {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: #ffffff;
        padding: 80px 25px 30px;
        gap: 0;
        margin: 0;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.4);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 20px 15px;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 1.1rem;
        color: var(--primary-color);
        line-height: 1.5;
    }

    .nav-menu a::after {
        display: none !important;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--accent-color);
        background: rgba(0, 0, 0, 0.05);
    }

    .nav-menu .cta-btn {
        margin-top: 20px;
        margin-left: 0;
        text-align: center;
        border-radius: 25px;
        border-bottom: none;
    }

    /* Mobile menu overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile menu close button */
    .menu-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 10;
    }

    .menu-close-btn i {
        color: var(--white);
        font-size: 1.2rem;
    }

    .menu-close-btn:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    /* Hamburger animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    /* Header Top - Mobile */
    .header-top {
        padding: 10px 0;
        font-size: 0.85rem;
    }

    .header-top .container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .header-top-left {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .header-top-left a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 5px 0;
    }

    .header-top-left a i {
        font-size: 0.9rem;
    }

    /* Nav Main - Mobile */
    .nav-main {
        padding: 15px 0;
    }

    .nav-main .container {
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo img {
        height: 45px !important;
        width: auto;
    }

    .menu-toggle {
        padding: 10px;
        flex-shrink: 0;
    }

    .menu-toggle span {
        width: 24px;
        height: 3px;
    }

    /* Hero adjustments */
    .hero {
        min-height: auto;
        padding: 170px 0 60px;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .service-items {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 170px 0 60px;
        background-attachment: scroll;
    }

    /* Disable parallax on mobile for better performance */
    .parallax,
    .cta-section {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Hide email on very small screens, show only phone */
    .header-top {
        padding: 8px 0;
    }

    .header-top-left a[href^="mailto"] {
        display: none;
    }

    .header-top-left {
        gap: 5px;
    }

    .header-top-left a[href^="tel"] {
        font-weight: 600;
        font-size: 0.9rem;
        padding: 5px 0;
    }

    .nav-main {
        padding: 12px 0;
    }

    .nav-main .container {
        padding: 0 15px;
        gap: 15px;
    }

    .logo img {
        height: 40px !important;
        width: auto;
    }

    .menu-toggle {
        padding: 8px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    /* Full width menu on very small screens */
    .nav-menu.active {
        width: 100%;
        padding: 70px 20px 30px;
    }

    .nav-menu li {
        margin-bottom: 5px;
    }

    .nav-menu a {
        padding: 18px 15px;
        font-size: 1rem;
    }

    .menu-close-btn {
        top: 18px;
        right: 18px;
        width: 36px;
        height: 36px;
    }

    .hero {
        padding: 180px 0 50px;
    }

    .page-header {
        padding: 180px 0 50px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services,
    .why-us,
    .testimonials,
    .cta-section,
    .about-section,
    .contact-section,
    .blog-section,
    .service-detail,
    .services-list {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }
}

/* =====================================================
   Animations
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-down {
    animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Scroll animations - Staggered Reveal Effect */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered text animations */
.stagger-text {
    opacity: 0;
    transform: translateY(30px);
    animation: staggerFadeIn 0.6s ease forwards;
}

.stagger-text:nth-child(1) { animation-delay: 0.1s; }
.stagger-text:nth-child(2) { animation-delay: 0.2s; }
.stagger-text:nth-child(3) { animation-delay: 0.3s; }
.stagger-text:nth-child(4) { animation-delay: 0.4s; }
.stagger-text:nth-child(5) { animation-delay: 0.5s; }
.stagger-text:nth-child(6) { animation-delay: 0.6s; }
.stagger-text:nth-child(7) { animation-delay: 0.7s; }
.stagger-text:nth-child(8) { animation-delay: 0.8s; }
.stagger-text:nth-child(9) { animation-delay: 0.9s; }
.stagger-text:nth-child(10) { animation-delay: 1s; }

/* Letter-by-letter animation */
.letter-animate {
    display: inline-block;
    opacity: 0;
    animation: letterFadeIn 0.5s ease forwards;
}

/* Text fade in from left */
.text-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

/* Text fade in from right */
.text-slide-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.6s ease forwards;
}

/* Scale in animation */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleInAnim 0.5s ease forwards;
}

/* Rotate in animation */
.rotate-in {
    opacity: 0;
    transform: rotate(-5deg);
    animation: rotateInAnim 0.6s ease forwards;
}

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

@keyframes letterFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleInAnim {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateInAnim {
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animations for grid items */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* =====================================================
   Dynamic Text Animations
   ===================================================== */

/* Base animation state - elements start hidden */
.animate-text {
    opacity: 0;
    will-change: opacity, transform;
}

/* Animation types - slower, smoother animations */
.anim-fade-up {
    animation: fadeInUp 1s ease forwards;
}

.anim-fade-down {
    animation: fadeInDown 1s ease forwards;
}

.anim-fade-left {
    animation: fadeInLeft 1s ease forwards;
}

.anim-fade-right {
    animation: fadeInRight 1s ease forwards;
}

.anim-scale {
    animation: scaleIn 0.8s ease forwards;
}

.anim-slide-left {
    animation: slideInLeft 1s ease forwards;
}

/* Staggered delays - slower timing */
.delay-1 { animation-delay: 0.2s !important; }
.delay-2 { animation-delay: 0.4s !important; }
.delay-3 { animation-delay: 0.6s !important; }
.delay-4 { animation-delay: 0.8s !important; }
.delay-5 { animation-delay: 1.0s !important; }
.delay-6 { animation-delay: 1.2s !important; }
.delay-7 { animation-delay: 1.4s !important; }
.delay-8 { animation-delay: 1.6s !important; }

/* Hero text animations */
.hero-content .hero-badge.animate-text {
    transform: translateY(-20px);
}

.hero-content h1.animate-text {
    transform: translateY(30px);
}

.hero-content p.animate-text {
    transform: translateY(20px);
}

.hero-content .hero-buttons.animate-text {
    transform: translateY(20px);
}

/* Section header animations */
.section-header h2.animate-text {
    transform: translateY(20px);
}

.section-header p.animate-text {
    transform: translateY(15px);
}

/* Card animations */
.service-card.animate-text,
.why-card.animate-text,
.testimonial-card.animate-text,
.blog-card.animate-text {
    transform: translateY(30px);
}

/* Counter animation styles */
.counter-section {
    padding: 80px 0;
    background: var(--secondary-color);
    color: var(--white);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.counter-item {
    padding: 20px;
}

.counter-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.counter-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .counter-item h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .counter-item h3 {
        font-size: 2rem;
    }

    .counter-item p {
        font-size: 0.9rem;
    }
}
