:root {
    --primary: #0841bd; /* Soft blue */
    --secondary: #f8f9fa; /* Very light gray */
    --accent: #a1c6ea; /* Light blue */
    --light: #ffffff; /* Pure white */
    --text: #5a5a5a; /* Soft dark gray (not black) */
    --border: #e0e0e0; /* Very light gray for borders */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 10px;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 100px;
    height: 100px;
    position: relative;
}

.t-shirt {
    font-size: 60px;
    color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
}

.loader-text {
    color: var(--text);
    margin-top: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    
}

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

/* Header Styles */
header {
    background-color: var(--light);
    color: var(--text);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 30px;
    font-weight: 900;
    color: transparent;
background: linear-gradient(90deg, #1a3c72, #4a8fe7, #2d5aa9, #1e3f73, #1a3c72);
-webkit-background-clip: text;
background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}
/* Add this to your existing CSS */
nav ul li a.active {
    color: var(--primary);
    font-weight: 600;
}

nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

.hero {
    height: 100vh;
   
    background-size: cover; /* Scales image to cover the entire element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from tiling */
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.hero-content {
    flex: 1;
    min-width: 300px;
    color: white;
     background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out; /* Smooth transition for the hover effect */
}

/* Adds a more pronounced effect when the user hovers over the text box */
.hero-content:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
    font-size: 75px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.hero-image img {
    height: 340px;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--border);
}

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

/* Services Section */
.services {
    padding: 10px 20px;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Services Section - Revised */
.services {
    padding: 40px 20px;
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-image {
        height: 200px;
    }
}

.service-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
    height: 100%; /* Make all cards same height */
    display: flex;
    flex-direction: column;
}

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

.service-image {
    height: 250px; /* Same height as gallery items */
    overflow: hidden;
    background-color: var(--secondary);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from 'fill' to 'cover' */
    transition: transform 0.5s;
}

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

.service-content {
    padding: 20px;
    flex-grow: 1; /* Allow content to grow and fill space */
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-content p {
    color: var(--text);
    margin-bottom: 0;
    opacity: 0.8;
    flex-grow: 1;
}

/* Responsive adjustments for services grid only */
/* Responsive adjustments for services grid to match gallery */
@media (max-width: 600px) {
    .service-image {
        height: 200px;
    }
}

.learn-more {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.learn-more:hover {
    color: var(--accent);
}

/* Gallery Section */
.gallery {
    padding: 10px 20px;
    background-color: var(--secondary);
}

.gallery .section-title h2 {
    color: var(--primary);
}

.gallery .section-title p {
    color: var(--text);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-overlay h3 {
    color: var(--text);
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    border-radius: 5px;
}

/* Contact Section */
.contact {
    padding: 30px 20px;
    background-color: var(--light);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text);
    opacity: 0.8;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-form {
    background-color: var(--light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    background-color: var(--secondary);
}

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

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

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #3a7bc8;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--text);
    padding: 50px 20px 20px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

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

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    opacity: 0.8;
}

.footer-col ul li a:hover {
    color: var(--primary);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: var(--text);
    transition: all 0.3s;
}

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

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text);
    opacity: 0.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--light);
        transition: left 0.3s;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        border-top: 1px solid var(--border);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero {
        padding-top: 80px;
        height: auto;
        padding-bottom: 60px;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 24px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 10px 20px;
    }
    
    .service-card {
        min-width: 100%;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* this is style is for the active */

.active{
    color: var(--primary) !important;
 }



 /* this style is for the tab switching on quote pagee */
 .orders-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e1e1e1;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For IE and Edge */
}

.orders-tabs::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.tab-button {
    padding: 12px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    position: relative;
    margin-right: 0;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    border-radius: 4px 4px 0 0;
}

.tab-button:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.tab-button.active {
    color: #4f46e5;
    font-weight: 600;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #4f46e5;
    border-radius: 3px 3px 0 0;
    transform-origin: bottom center;
    animation: scaleIn 0.25s ease-out forwards;
}

@keyframes scaleIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Ripple effect */
.tab-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(79, 70, 229, 0.3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.tab-button:focus:not(.active)::before {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .orders-tabs {
        padding: 0 8px;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tab-button {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* style ends */
/* Profile dropdown styles - Desktop */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
}

.profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    border-radius: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-menu li a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-menu li a:hover {
    background-color: #f1f1f1;
}

/* Desktop behavior - hover to show dropdown */
@media (min-width: 769px) {
    .profile-dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Mobile behavior - always show menu items */
@media (max-width: 768px) {
    .profile-icon {
        display: none; /* Hide the profile icon in mobile */
    }
    
    .dropdown-menu {
        display: block !important;
        position: static;
        box-shadow: none;
        background-color: transparent;
        min-width: auto;
    }
    
    .dropdown-menu li {
        display: inline-block;
        margin-left: 15px;
    }
    
    .dropdown-menu li a {
        padding: 0;
        color: var(--text); /* Use your existing text color */
    }
    
    .dropdown-menu li a:hover {
        background-color: transparent;
        color: var(--primary); /* Use your primary color */
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px;
    margin: 0;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

#profileForm {
    overflow-y: auto;
    padding: 0 20px;
    flex: 1;
}

.modal-footer {
    padding: 15px 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky;
    bottom: 0;
}

/* Password visibility toggle styles */
.password-input-container {
    position: relative;
    width: 100%;
}

.password-input-container input {
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    font-size: 18px;
}

.toggle-password:hover {
    opacity: 1;
}
.minimal-cancel-btn {
    background-color: #e53e3e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.minimal-cancel-btn:hover {
    background-color: #c53030;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.minimal-cancel-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.minimal-cancel-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.3);
}
