/* Global Styles */
:root {
    --primary-color: #1e4b94;
    --secondary-color: #6c757d;
    --accent-color: #3a7bd5;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a2c43;
    --white: #ffffff;
    --gray: #6c757d;
    --transition: all 0.3s ease;
    --light-color: #f8f9fa;
    --dark-color: #1a2c43;
    --success-color: #28a745;
    --section-padding: 100px 0;
    --border-radius: 12px;
    --box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #fafafa;
}

section {
    position: relative;
    padding: var(--section-padding);
}

.container {
    position: relative;
    z-index: 1;
}

.section-divider {
    height: 100px;
    background-color: var(--white);
    position: relative;
    margin-top: -50px;
    z-index: 0;
}

.section-divider.slant-top {
    clip-path: polygon(0 0, 100% 50px, 100% 100%, 0% 100%);
}

.section-divider.slant-bottom {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0% 100%);
}

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

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

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

.section-heading p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    transition: var(--transition);
    height: 55px;
}

.navbar.scrolled .navbar-brand img {
    height: 45px;
}

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 18px;
    transition: var(--transition);
    position: relative;
    border-radius: 30px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(30, 75, 148, 0.05);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 40%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: none;
    position: relative;
    border-bottom: 2px solid var(--dark-color);
    transition: all 300ms linear;
}

.navbar-toggler-icon:after, 
.navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 2px;
    background-color: var(--dark-color);
    top: 0;
    left: 0;
    content: '';
    z-index: 2;
    transition: all 300ms linear;
}

.navbar-toggler-icon:after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
    background-color: var(--primary-color);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
    background-color: var(--primary-color);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(30, 75, 148, 0.85), rgba(58, 123, 213, 0.85)), 
                url('https://images.unsplash.com/photo-1589391886645-d51941baf7fb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    padding-top: 80px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-section h1 {
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 3.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-section p.lead {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    opacity: 0.95;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.hero-buttons .btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-shape .shape-fill {
    fill: var(--white);
}

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

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.about-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.about-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.about-content .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.about-content .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #444;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.2;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    width: 100%;
    height: auto;
}

.about-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.about-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background-color: rgba(30, 75, 148, 0.03);
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

/* Services Section */
.services-section {
    background-color: #f8fbff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.4;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    height: auto;
    min-height: 100%;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-bottom: 30px;
    border-bottom: 4px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(30, 75, 148, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover h3::after {
    width: 60px;
}

.service-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    background-color: rgba(30, 75, 148, 0.03);
    padding: 15px;
    border-radius: 5px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.service-list li i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 0.9rem;
    margin-top: 5px;
}

.service-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Why Us Section */
.why-us-section {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-us-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(30, 75, 148, 0.03);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.feature-box {
    text-align: center;
    padding: 40px 25px;
    border-radius: var(--border-radius);
    background-color: #fff;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: right;
    z-index: -1;
}

.feature-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-box:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: rgba(30, 75, 148, 0.1);
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
    transition: transform 0.8s ease, background-color 0.3s ease, color 0.3s ease;
}

.feature-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background-color: #f8fbff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.3;
    z-index: 0;
}

.contact-info {
    padding: 0;
    position: relative;
    z-index: 1;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    text-align: center;
}

.contact-info .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.contact-info .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.contact-details {
    margin-top: 50px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
    padding: 0 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--white);
    margin-right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(30, 75, 148, 0.2);
    transition: var(--transition);
}

.contact-item:hover i {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(30, 75, 148, 0.3);
    background-color: var(--accent-color);
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-item p {
    color: #555;
    font-size: 1.05rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    margin-left: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    margin-right: 5px;
    font-size: 1.1rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    
    .whatsapp-btn {
        margin-top: 10px;
        margin-left: 0;
        display: inline-flex;
    }
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    height: 50px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.contact-form textarea.form-control {
    height: auto;
}

.contact-form .btn {
    height: 50px;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 100px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.footer-info {
    position: relative;
    z-index: 1;
}

.footer-info img {
    margin-bottom: 20px;
}

.footer-info p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-links {
    position: relative;
    z-index: 1;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 10px;
}

.footer-links ul li a::before {
    content: '→';
    margin-right: 10px;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-social {
    position: relative;
    z-index: 1;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.social-links a:hover {
    transform: translateY(-8px) rotate(360deg);
    color: var(--white);
}

.social-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        height: auto;
        padding: 120px 0 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-info {
        padding: 1rem 0;
    }

    .service-card,
    .feature-box {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin: 0 auto 0.5rem;
    }
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
} 
/* Logo Optimization */
.navbar-brand img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

/* Contact Form Styles */
.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 75, 148, 0.25);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 75, 148, 0.3);
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Large image optimization */
img[src*="logo.png"] {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Hero section optimization */
.hero-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .navbar-brand img {
        max-width: 150px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}
