/* Base Styles and Variables */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #2c3e50;
    --accent-color: #ff9d4a;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #1a1a1a;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --dark-bg: #1a1a1a;
    --gray-bg: #f2f2f2;
    --border-color: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.highlighted {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: translateY(-3px);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 1rem 0;
}

header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--white);
}

header.scrolled .logo a {
    color: var(--primary-color);
}

.logo-text {
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--white);
}

header.scrolled .bar {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    color: var(--white);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.cab-animation {
    animation: float 6s ease-in-out infinite;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

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

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

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    z-index: -1;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 0 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}

.stat-value::after {
    content: '+';
    font-size: 1.5rem;
    position: relative;
    top: -5px;
    margin-left: 2px;
}

.stat-value.counter-complete {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
    animation: pulse 0.5s ease-in-out;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    transition: transform 0.3s ease;
}

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

/* Enquiry Section */
.enquiry-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.enquiry-content {
    display: flex;
    gap: 3rem;
}

.enquiry-form-container {
    flex: 1;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    position: relative;
}

.enquiry-form {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

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

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

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

.form-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9999;
    padding: 20px; /* Add padding for smaller screens */
    box-sizing: border-box;
}

.form-success.active {
    background-color: var(--primary-color);
    opacity: 1;
    visibility: visible;
}

.success-content {
    text-align: center;
    padding: 2rem;
    color: white;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

.success-content i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.success-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.success-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 10px;
}

.success-content a,
.success-content button {
    margin: 0.5rem;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .success-content {
        padding: 1.5rem;
    }

    .success-content i {
        font-size: 3rem;
    }

    .success-content h3 {
        font-size: 1.4rem;
    }

    .success-content p {
        font-size: 0.95rem;
    }

    .success-content a,
    .success-content button {
        font-size: 0.95rem;
        padding: 10px 16px;
    }
}

.enquiry-benefits {
    flex: 1;
}

.enquiry-benefits h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.benefits-list li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.customer-testimonial {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
    color: rgba(255, 107, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.cta-content .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -8px;
    left: 0;
}

.footer-section p {
    margin-bottom: 1.5rem;
}

.contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.contact p i {
    margin-right: 0.8rem;
    color: var(--primary-color);
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media screen and (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 3rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 3rem;
        max-width: 100%;
    }
    .about-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px; 
    }
    
    .enquiry-content {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .enquiry-form-container,
    .enquiry-benefits {
        flex: 1 1 48%;
    }
    
    /* Stack vertically on smaller screens */
    @media (max-width: 768px) {
        .enquiry-form-container,
        .enquiry-benefits {
            flex: 1 1 100%;
        }
    }
    
    .stats-container {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 50%;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1.5rem 0;
    }
    
    .nav-link {
        color: var(--text-dark);
    }
    
    header.scrolled .hamburger .bar {
        background-color: var(--secondary-color);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card {
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 150px 0 80px;
    }
    
    .section-header h2:after {
        width: 40px;
    }
}

@media screen and (max-width: 576px) {
    .stat-item {
        flex: 0 0 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .success-content .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .services-section, .about-section, .enquiry-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 10px;
    }
}

/* Fix for extremely small screens */
@media screen and (max-width: 375px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .enquiry-form-container {
        padding: 1.5rem;
    }
}