@font-face {
    font-family: 'Poppins', sans-serif;
    src: url('../../assets/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px; /* Thinner scrollbar */
}
::-webkit-scrollbar-track {
    background: #000000; /* Black track */
}
::-webkit-scrollbar-thumb {
    background: #66CCFF; /* Light blue thumb */
}
::-webkit-scrollbar-thumb:hover {
    background: #3399CC; /* Darker blue on hover */
}
html {
    scrollbar-color: #66CCFF #000000;
    scrollbar-width: thin;
}
body {
    background-color: #FFFFFF;
    color: #111111;
    font-size: 16px; /* Base font size for better readability */
    line-height: 1.6;
}
input:focus,
textarea:focus {
    outline: none;
}
a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}
a:hover {
    color: #66CCFF;
}
.container {
    max-width: 100%; /* Full width for mobile */
    padding: 0 10px; /* Reduce padding for smaller screens */
}
button {
    background-color: transparent;
    color: white;
    border: none;
    padding: 12px 20px; /* Slightly larger padding for better touch targets */
    border-radius: 8px; /* More rounded corners for a modern look */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}
/* Base Styles (Mobile First) */
.services-hero {
    position: relative;
    min-height: 600px; /* Increased from 60vh for better mobile experience */
    width: 100%;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/images//services/services.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    transform: scale(1.1);
    transition: transform 0.5s ease;
    object-fit: cover;
}

.services-hero:hover::before {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(90deg, #ffffff, #66CCFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #66CCFF, #3399CC);
    border-radius: 2px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator::after {
    content: '';
    width: 2px;
    height: 25px;
    background: linear-gradient(to bottom, #66CCFF, transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .hero-content {
        padding: 2rem;
    }

    .hero-content h1::after {
        width: 120px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-content {
        padding: 3rem;
    }

    .hero-content h1::after {
        width: 150px;
    }
}

/* Services Navigation */
.services-nav {
    display: none; /* Hidden on mobile */
}

/* Services Container */
.services-container {
    width: 100%;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Sections */
.service-section {
    padding: 3rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-section:last-child {
    border-bottom: none;
}

.service-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.service-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-info {
    padding: 1rem;
    width: 100%;
    max-width: 500px;
}

.service-info h2 {
    font-size: 1.8rem;
    color: #111111;
    margin-bottom: 1rem;
    position: relative;
}

.service-info h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #66CCFF, #3399CC);
}

.service-info p {
    font-size: 1rem;
    color: #444444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    color: #333333;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #66CCFF;
    font-weight: bold;
}

.cta-button {
    background: linear-gradient(90deg, #66CCFF, #3399CC);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 200px;
}

.cta-button::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;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 204, 255, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .hero-content {
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .services-container {
        padding: 3rem 2rem;
    }

    .service-content {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .service-image {
        flex: 1;
        height: 350px;
    }

    .service-info {
        flex: 1;
        padding: 2rem;
    }

    .service-info h2 {
        font-size: 2rem;
    }

    .services-nav {
        display: block;
        position: fixed;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
    }


    .nav-dots {
        background-color: #00000072;
        padding: 10px 10px;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .nav-dot:hover, .nav-dot.active {
        background: #66CCFF;
        transform: scale(1.2);
        box-shadow: 0 0 15px rgba(102, 204, 255, 0.5);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.6rem;
    }

    .services-container {
        padding: 4rem 2rem;
    }

    .service-content {
        gap: 4rem;
    }

    .service-image {
        height: 400px;
    }

    .service-info h2 {
        font-size: 2.2rem;
    }

    .service-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #66CCFF;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(102, 204, 255, 0.3);
    border-radius: 50%;
    border-top-color: #66CCFF;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

/* Media Queries */
@media (min-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        padding: 2rem;
    }

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

    .service-info h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .services-hero {
        min-height: 600px; /* Keep desktop version untouched */
    }
}

/* Service Calculator Styles */
.service-calculator {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 204, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.1), transparent);
    z-index: -1;
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.calculator-header h3 {
    color: #1e1e1e;
    font-size: 1.8rem;
    margin: 0;
    position: relative;
}

.calculator-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #66CCFF, transparent);
}

.calculator-icon {
    font-size: 2rem;
    color: #66CCFF;
    animation: pulse 2s infinite;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-category {
    background: rgba(248, 249, 250, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
}

.service-category h4 {
    color: #1e1e1e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(102, 204, 255, 0.2);
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-option {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

.service-option:hover {
    background: rgba(102, 204, 255, 0.1);
    transform: translateX(5px);
}

.service-option input[type="checkbox"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: #66CCFF;
    cursor: pointer;
}

.service-option label {
    display: flex;
    flex-direction: column;
    color: #1e1e1e;
    font-size: 1rem;
    cursor: pointer;
}

.service-name {
    font-weight: 600;
}

.service-price {
    color: #66CCFF;
    font-weight: 500;
}

.calculator-summary {
    background: rgba(248, 249, 250, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
}

.calculator-summary h4 {
    color: #1e1e1e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(102, 204, 255, 0.2);
}

.selected-services {
    margin-bottom: 1.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.selected-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.selected-service:hover {
    background: rgba(102, 204, 255, 0.1);
}

.total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(102, 204, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.total span {
    color: #1e1e1e;
    font-size: 1.2rem;
    font-weight: 600;
}

.total-amount {
    color: #66CCFF;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.total-amount.animate {
    transform: scale(1.1);
    color: #3399CC;
}

.calculate-btn {
    background: #66CCFF;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.calculate-btn:hover {
    background: #3399CC;
    transform: translateY(-2px);
}

.calculate-btn .btn-icon {
    font-size: 1.2rem;
}

/* Dark Mode Support */
body.dark-mode .service-calculator {
    background: rgba(30, 30, 30, 0.95);
}

body.dark-mode .service-category,
body.dark-mode .calculator-summary {
    background: rgba(40, 40, 40, 0.8);
}

body.dark-mode .service-option,
body.dark-mode .selected-service {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .service-option:hover,
body.dark-mode .selected-service:hover {
    background: rgba(102, 204, 255, 0.2);
}

body.dark-mode .service-category h4,
body.dark-mode .calculator-summary h4,
body.dark-mode .service-name,
body.dark-mode .total span {
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-calculator {
        padding: 1.5rem;
        margin: 1.5rem;
    }

    .calculator-content {
        gap: 1.5rem;
    }

    .service-category,
    .calculator-summary {
        padding: 1rem;
    }

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

@media (max-width: 480px) {
    .service-calculator {
        padding: 1rem;
        margin: 1rem;
    }

    .calculator-header h3 {
        font-size: 1.5rem;
    }

    .service-category h4,
    .calculator-summary h4 {
        font-size: 1.1rem;
    }

    .service-option {
        padding: 0.6rem;
    }

    .calculate-btn {
        padding: 0.8rem 1.5rem;
    }
}

/* Calculator Trigger Button */
.calculator-trigger {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #66CCFF, #3399CC);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(102, 204, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.calculator-trigger::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;
}

.calculator-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 204, 255, 0.4);
}

.calculator-trigger:hover::before {
    left: 100%;
}

.calculator-trigger i {
    font-size: 1.2rem;
}

/* Calculator Modal */
.calculator-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calculator-modal.active {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(102, 204, 255, 0.1);
    backdrop-filter: blur(10px);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.1), transparent);
    z-index: -1;
    border-radius: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(102, 204, 255, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-content i {
    font-size: 2rem;
    color: #66CCFF;
    animation: pulse 2s infinite;
}

.modal-header h3 {
    color: #1e1e1e;
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(90deg, #1e1e1e, #66CCFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-modal {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
}

.close-modal:hover {
    color: #66CCFF;
    background: rgba(102, 204, 255, 0.1);
    transform: rotate(90deg);
}

/* Dark Mode Support for Modal */
body.dark-mode .modal-content {
    background: rgba(30, 30, 30, 0.95);
}

body.dark-mode .modal-header h3 {
    background: linear-gradient(90deg, #ffffff, #66CCFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .close-modal {
    color: #ffffff;
}

body.dark-mode .close-modal:hover {
    color: #66CCFF;
}

/* Responsive adjustments for Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .calculator-trigger {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

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

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 1rem;
    }

    .modal-header {
        margin-bottom: 1.5rem;
    }

    .calculator-trigger {
        width: 100%;
        justify-content: center;
    }

    .service-category {
        padding: 1rem;
    }

    .service-option {
        padding: 0.6rem;
    }
}
