:root {
    --primary: #FF9900;
    --primary-dark: #E67E22;
    --secondary: #2C3E50;
    --secondary-light: #34495E;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text: #333333;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: var(--primary);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 70px; /* More compact for mobile */
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    header {
        height: 100px;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure container fills the header width */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.logo img {
    height: 60px; /* Fitting inside 70px mobile header */
    width: auto;
    display: block;
    background: white;
    padding: 2px 8px; /* Balanced padding */
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .logo img {
        height: 85px; /* Fitting inside 100px desktop header */
        padding: 5px 15px; /* More padding for desktop */
    }
}

.logo img:hover {
    transform: scale(1.02);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: auto;
}

.nav-links {
    display: none;
}

/* Hero Section & Slider */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 70px);
    display: grid;
    grid-template-areas: "hero";
    overflow: hidden;
    background: var(--secondary);
}

@media (min-width: 768px) {
    .hero-slider {
        min-height: calc(100vh - 100px);
    }
}

.hero-slide {
    grid-area: hero;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero {
    padding: 24px 0 !important;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .hero {
        min-height: calc(100vh - 100px);
    }
}

/* Footer Contact List Aligned */
.footer-contact-list {
    display: grid;
    grid-template-columns: auto auto 1fr; /* 3 columns for better alignment */
    gap: 0.5rem 0.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.footer-contact-label {
    text-align: right;
    font-weight: bold;
    min-width: 70px;
    color: var(--primary);
}

.footer-contact-colon {
    color: var(--white);
    font-weight: bold;
}

.footer-contact-value {
    text-align: left;
    opacity: 0.9;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
    opacity: 0.1;
    border-radius: 50px;
    transform: rotate(45deg);
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

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

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary);
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Company Profile Layout Refinements */
.profile-header-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch; /* Stretch to match heights */
}

@media (min-width: 992px) {
    .profile-header-grid {
        grid-template-columns: 1fr 1fr; /* Equal width split */
        gap: 3rem;
    }
}

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

/* About Grid (Original) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mission-box {
    background: var(--bg-light);
    padding: 2rem;
    border-left: 5px solid var(--primary);
    margin-top: 2rem;
}

.mission-box p {
    font-style: italic;
    font-weight: 500;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.service-icon::before {
    content: '★';
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-list {
    list-style: none;
    font-size: 0.9rem;
    color: #666;
}

.service-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Values Section */
.values-container {
    background: var(--secondary);
    color: var(--white);
    border-radius: 40px;
    padding: 2.5rem 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
}

.value-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    opacity: 0.8;
}

.value-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Why Choose Us */
.why-card-container {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    padding: 2.5rem 2rem;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.2);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.why-card-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

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

.why-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: justify; /* Justify text content */
}

.why-item h4 {
    text-align: left; /* Keep headings left-aligned */
}

.why-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.why-item h4 {
    color: var(--white);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Sleek Card System */
.card-sleek {
    background: var(--white);
    padding: 1.5rem; /* Reduced for mobile */
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    text-align: justify; /* Justify text content */
}

.card-sleek h3, .card-sleek h4 {
    text-align: left; /* Keep headings left-aligned */
}

@media (min-width: 768px) {
    .card-sleek {
        padding: 2.5rem;
    }
}

.card-sleek::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s ease;
}

.card-sleek:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border-color: rgba(255, 153, 0, 0.3);
}

.card-sleek:hover::before {
    height: 100%;
}

.contact-form-card {
    height: 100%;
    padding-top: 15px !important; /* Reduced from 2.5rem (40px) to 15px (25px less) */
    padding-bottom: 5px !important; /* Reduced to 5px as requested */
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-info-card {
    margin-bottom: 1.5rem; /* Reduced from 2rem to save space */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.card-sleek h4 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-sleek h4::before {
    content: '❯';
    color: var(--primary);
    font-size: 1rem;
}

.card-sleek p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* Captions */
.caption-box {
    margin: 3rem 0;
    padding: 1.5rem; /* Reduced for mobile */
    border-radius: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
    color: var(--white);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .caption-box {
        margin: 4rem 0;
        padding: 3rem;
        border-radius: 40px;
    }
}

.caption-box h3 {
    font-size: 1.4rem; /* Scaled for mobile */
    margin-bottom: 1.2rem;
    color: var(--primary);
}

@media (min-width: 768px) {
    .caption-box h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

.caption-box p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .caption-box p {
        font-size: 1.2rem;
    }
}

.caption-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

@media (min-width: 768px) {
    .caption-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

.caption-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    text-align: left;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
}

.caption-list-item i {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(255, 153, 0, 0.3);
    transform: translateY(-2px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Footer & Contact */
#get-in-touch {
    padding: 3rem 0; /* Compact section padding */
}

footer {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Clients Logo Slider */
.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.logo-track {
    display: flex;
    width: max-content;
    gap: 4rem;
    animation: sliderScroll 25s ease-in-out infinite;
    align-items: center;
}

@keyframes sliderScroll {
    0% { transform: translateX(0); }
    50% { transform: translateX(calc(-100% + 100vw)); }
    100% { transform: translateX(0); }
}

.client-logo {
    flex: 0 0 150px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.client-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    pointer-events: none;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* Enhancements */
.hero-img-container {
    border: 5px solid var(--primary); /* Scaled for mobile */
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    margin-top: 2rem;
    transition: transform 0.5s ease;
}

@media (min-width: 768px) {
    .hero-img-container {
        border-width: 8px;
    }
}

.hero-img-container:hover {
    transform: scale(1.02);
}

.about-img-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    margin-top: 2rem;
}

.hero-img-container img, .about-img-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-grid {
    align-items: stretch;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
    }
}

.form-grid-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem; /* Tightened to reach exactly 455px height */
}

@media (min-width: 576px) {
    .form-grid-contact {
        grid-template-columns: repeat(2, 1fr);
    }
}

.map-container {
    padding: 0;
    overflow: hidden;
    flex: 1; /* Stretch to fill available height */
    min-height: 300px;
    height: auto;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.info-item strong {
    color: var(--secondary);
    font-size: 1rem;
}

.info-item p {
    color: #666;
}

/* Form Grid Responsiveness (Original) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2.5rem;
    }
    .nav-links a {
        color: var(--white);
        text-decoration: none;
        font-weight: 700;
        font-size: 1rem;
        opacity: 0.9;
        transition: all 0.3s ease;
        position: relative;
        letter-spacing: 0.5px;
    }
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--white);
        transition: width 0.3s ease;
    }
    .nav-links a:hover {
        opacity: 1;
    }
    .nav-links a:hover::after {
        width: 100%;
    }
    
    .nav-cta-btn {
        background: var(--secondary);
        color: var(--white);
        padding: 0.5rem 1rem; /* Compact for mobile */
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.8rem;
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    @media (min-width: 768px) {
        .nav-cta-btn {
            padding: 0.8rem 1.8rem;
            font-size: 0.95rem;
            font-weight: 800;
            letter-spacing: 1px;
        }
    }
    
    .nav-cta-btn:hover {
        background: var(--secondary-light);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        border-color: var(--white);
    }
    /* Removed redundant height override to prefer calc(100vh - header) */
    .hero h1 { font-size: 3.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1.5fr; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hero-container {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    .hero-content {
        max-width: none;
    }
    .hero-img-container, .about-img-container {
        margin-top: 0;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); } /* Forced to 2 columns as requested */
    .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; }
}