/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: #0066cc;
}

ul {
    list-style: none;
}

/* Enhanced Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    aspect-ratio: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
}

nav {
    margin: 0 auto;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0066cc;
}

.contact-header .phone-button {
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.contact-header .phone-button:hover {
    background-color: #0052a3;
}

/* Modern Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(145deg, #f5f9ff, #ffffff);
}

.hero .container {
    max-width: 1400px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-primary {
    background-color: #0066cc;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
}

.cta-primary:hover {
    background-color: #0052a3;
}

.cta-secondary {
    background-color: transparent;
    color: #0066cc;
    border: 1px solid #0066cc;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
}

.cta-secondary:hover {
    background-color: #0066cc;
    color: white;
}

.hero-image {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Services Section */
.services {
    padding: 20px 0px 40px;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #0066cc;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Modern Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.1);
}

.service-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.service-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: #0066cc;
}

.service-card p {
    padding: 0 20px 20px;
    flex-grow: 1;
}

.service-btn {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.service-btn:hover {
    background-color: #0052a3;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.why-us h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #0066cc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.benefit-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #0066cc;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0066cc;
}

.contact > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Updated Contact Section */
.contact-flex {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.08);
    width: calc(100% - 40px); /* Add this to control width */
}

.contact-info {
    background: #f8faff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.info-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.05);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0066cc;
}

.info-item a {
    display: block;
    font-size: 1rem;
    color: #333;
    word-break: break-word;
}

.contact-form {
    background: #f8faff;
    padding: 30px;
    border-radius: 15px;
}

/* Modern Contact Section Styling */
.contact-flex {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.08);
}

.contact-info {
    background: #f8faff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.info-item {
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.05);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
}

.info-item h3 {
    color: #0066cc;
    font-size: 1.2rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background: #f8faff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.05);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8f0fe;
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
    font-size: 0.95rem;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    padding-right: 40px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(145deg, #0066cc, #0052a3);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(145deg, #0052a3, #004080);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

/* Form Messages */
.form-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 500;
}

.success-message {
    background: #4CAF50;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.error-message {
    background: #f44336;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hero Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.1);
}

.slider {
    display: flex;
    position: relative;
    height: 400px;
    width: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: #f5f9ff;
    aspect-ratio: auto;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 20px;
}

.prev-btn, .next-btn {
    background: white;
    opacity: 0.9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    opacity: 0.6;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Updated WhatsApp and Mobile Footer */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 99;
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.whatsapp-float span {
    color: #333;
    font-weight: 500;
}

/* Mobile Footer Navigation */
.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mobile-footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 15px;
}

.mobile-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
}

.mobile-footer-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: #0066cc;
}

/* Enhanced Footer Styling */
footer {
    background: linear-gradient(145deg, #0a2550, #001233);
    color: white;
    padding: 70px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: auto;
    width: 140px;
    margin-bottom: 20px;
    background: white;
    padding: 12px;
    border-radius: 12px;
}

.footer-logo p {
    font-size: 1rem;
    line-height: 1.6;
    color: #b4c2d3;
    max-width: 300px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 12px;
    align-items: center;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #b4c2d3;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    padding: 3px 0;
}

.footer-links ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 15px;
    color: #b4c2d3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: #b4c2d3;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: #b4c2d3;
    font-size: 0.9rem;
}

.privacy-policy {
    background: white; 
    margin: 20px auto; 
    max-width: 800px; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.privacy-policy h2 h3 {
    
    color: #333; 
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    html,
    body{
    width:100%;
    overflow-x:hidden;
    }
    
    .contact-flex {
        grid-template-columns: 1fr;
        padding: 20px;
        width: calc(100% - 30px);
        margin: 15px auto;
        gap: 20px;
    }

    .contact-info {
        padding: 20px;
    }

    .info-item {
        padding: 15px;
        text-align: center;
    }

    .info-item a {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-flex {
        grid-template-columns: 1fr;
        padding: 30px;
        max-width: 600px;
        border-radius: 20px;
        margin: 0 15px;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    header .container {
        padding: 10px 15px;
        gap: 20px;
    }
    
    nav ul {
        gap: 25px;
        display: flex;
        justify-content: space-around;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero .container {
        flex-direction: column;
        padding: 40px 10px 10px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        text-align: left;
        padding: 0;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        max-width: 100%;
        margin: 0 15px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .whatsapp-float {
        display: none;
    }

    .mobile-footer {
        display: block;
    }

    .contact-flex {
        padding: 20px;
        margin: 0 auto;
        width: calc(100% - 30px);
        max-width: 600px;
    }

    .contact-form {
        padding: 20px;
        margin: 0 auto;
    }

    footer {
        padding-bottom: 80px;
    }
}

@media (max-width: 576px) {
    .contact-flex {
        padding: 15px;
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    .contact-info {
        padding: 15px;
    }

    .info-item {
        padding: 12px;
        margin-bottom: 10px;
    }

    .info-item h3 {
        font-size: 1rem;
    }
    
    .hero-content p{
        padding:0px 0px 20px;
    }

    .contact-form {
        padding: 15px;
    }

    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .slide img {
        height: 250px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
        padding: 0;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    nav {
        background: white;
        padding: 15px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    nav ul {
        padding: 0;
        margin: 0;
        justify-content: center;
        gap: 20px;
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }
    
    header .container {
        flex-direction: row;
        padding: 15px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 15px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .slide img {
        height: 250px;
    }
    
    .service-card {
        margin: 0 10px;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-item {
        padding: 15px;
        margin-bottom: 0;
        background: #f8faff;
        border-radius: 8px;
    }
    
    .contact-flex {
        margin: 0 10px;
        padding: 15px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        margin-top:20px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-logo p {
        max-width: 100%;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-flex {
        padding: 20px;
        margin: 0 10px;
    }
    
    .info-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    /* Enhanced Mobile Footer Contact Styles */
    .footer-contact {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 20px;
        margin: 0 15px;
        text-align: center;
    }

    .footer-contact p {
        background: rgba(255, 255, 255, 0.03);
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact p strong {
        display: block;
        margin: 5px;
        color: #fff;
        width: 80px;
        font-size: 0.9rem;
    }

    .footer-contact a {
        color: #b4c2d3;
        font-size: 0.9rem;
        text-decoration: none;
        flex: 1;
        display: inline-block;
    }

    .footer-contact a:hover {
        color: #fff;
    }

    .footer-contact h3 {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 20px;
        position: relative;
        display: flex;
        justify-content: center;
    }

    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
        bottom: -10px;
        width: 60px;
    }
    
    .footer-contact p:last-child {
        margin-bottom: 0;
    }
     .footer-links {
        text-align: center;
    }
.footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-links ul li a {
        padding: 5px 0;
    }
}

@media (max-width: 400px) {
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact > .container > p {
        font-size: 0.95rem;
        padding: 0 15px;
    }
}
