/* Revised styles.css file that properly handles image paths */

/* Base styles */
body {
    background-color: #f9fafb; /* bg-gray-50 */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #1a202c;
}



    .logo {
        font-family: 'Orbitron', sans-serif;
        font-size: 24px;
        letter-spacing: 8px;
        font-weight: 600; 
    }


        /* Responsive logo */
    .responsive-logo {
        height: 200px;
        margin-right: 20px;
    }

    @media (min-width: 480px) {
        .responsive-logo {
            height: 280px;
        }
    }

    @media (min-width: 768px) {
        .responsive-logo {
            height: 350px;
        }
    }

    @media (min-width: 1024px) {
        .responsive-logo {
            height: 450px;
        }
    }
        .subtitle {
            font-family: 'Roboto', serif;
            font-size: 24px;
            margin-top: 10px;
            font-weight: 600; 
        }

        /* Responsive logo */
    .responsive-photo {
        height: 1500px;
        margin-right: 20px;
    }

    @media (min-width: 480px) {
        .responsive-photo {
            height: 80px;
        }
    }

    @media (min-width: 768px) {
        .responsive-photo {
            height: 150px;
        }
    }

    @media (min-width: 1024px) {
        .responsive-photo {
            height: 200px;
        }
    }
        .subtitle {
            font-family: 'Roboto', serif;
            font-size: 24px;
            margin-top: 10px;
            font-weight: 600; 
        }


/* Page-specific styles */
.page-hero {
    background: linear-gradient(to right, #6d28d9, #be185d);
}


/* Header styles */
header {
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navigation link styles */
.nav-link {
    position: relative;
    color: white;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Add this to your CSS file */
.site-nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: padding 0.3s ease;
}

/* Make sure the container inside maintains the layout */
.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Ensure the logo section has the right properties */
.site-nav .flex.items-center {
    display: flex;
    align-items: center;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .site-nav {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .site-nav {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}



/* Responsive height adjustments */
@media (max-width: 768px) {
    header {
        min-height: 400px;
    }
    
}


/* Hero text animation */
/* Hero Text - Consolidated and Responsive */
.hero-text {
    font-size: 1.5rem;          /* Smaller base size */
    font-weight: 700;
    color: white;
    line-height: 1.4;           /* Tighter line height */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 100%;
    animation: fadeIn 0.8s ease-out forwards;
    margin: 0 auto;             /* Center the text */
    text-align: center;
    padding: 0 1rem;           /* Add padding for mobile */
}

/* Responsive font sizes */
@media (min-width: 480px) {
    .hero-text {
        font-size: 1.75rem;
        max-width: 600px;
    }
}

@media (min-width: 768px) {
    .hero-text {
        font-size: 2rem;
        max-width: 700px;
    }
}

@media (min-width: 1024px) {
    .hero-text {
        font-size: 2.25rem;       /* Reduced from 3rem */
        max-width: 800px;
    }
}

/* Hero text container */
.hero-text-container {
    margin-top: -20px;
}

@media (min-width: 480px) {
    .hero-text-container {
        margin-top: -30px;
    }
}

@media (min-width: 768px) {
    .hero-text-container {
        margin-top: -40px;
    }
}

@media (min-width: 1024px) {
    .hero-text-container {
        margin-top: -50px;       /* Reduced from -60px */
    }
}

/* Keep the animation */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}






.responsive-header {
    min-height: 280px;
}

@media (min-width: 480px) {
    .responsive-header {
        min-height: 320px;
    }
}

@media (min-width: 768px) {
    .responsive-header {
        min-height: 400px;
    }
}

@media (min-width: 1024px) {
    .responsive-header {
        min-height: 480px;
    }
}




/* define custome color to be used by header and footer */
.custom-bg-blue {
    background-color: rgb(56, 12, 126) !important;
}

/* Carousel styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 15px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    height: 400px; /* Fixed height for animation */
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.slideshow-slide h1,
.slideshow-slide h2,
.slideshow-slide p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slideshow-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide background styles */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.1);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
}

.slide-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.6 );
    color: inherit;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.slide-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 4rem 2rem !important;
    height: 100% !important;
}

.slide-button-container {
    position: absolute !important;
    bottom: 0.01rem !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
}

.slide-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

.slide-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: white;
    border-color: currentColor;
}

.slide-button:hover::after {
    left: 100%;
}


/* Increase the size of the h2 titles in slides */
.slide-content h2.text-4xl {
    font-size: 2.75rem !important; /* Bigger than the default text-4xl */
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important; /* Adds readability against backgrounds */
}

/* Increase the size of paragraph text in slides */
.slide-content p.text-xl {
    font-size: 1.5rem !important; /* Bigger than the default text-xl */
    line-height: 1.4 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* For the specific paragraph that's already text-2xl */
.slide-content p.text-2xl {
    font-size: 1.75rem !important; /* Even larger for already bigger paragraphs */
    line-height: 1.5 !important; /* Extra spacing for larger text */
    max-width: 40rem !important; /* Slightly narrower for larger text */
}

/* Increase line spacing in paragraph text */
.slide-content p {
    line-height: 1.8 !important; /* Increased from standard 1.4-1.5 */
    margin-bottom: 0.5em !important; /* Adds space between paragraphs */
    max-width: 36rem !important; /* Approximately 576px at default font size */
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center the text within the paragraph */
.slide-content p.centered-text {
    text-align: center !important;
}

/* Make text more readable on mobile */
@media (max-width: 768px) {
    .slide-content h2.text-4xl {
        font-size: 2.25rem !important;
    }
    
    .slide-content p.text-xl,
    .slide-content p.text-2xl {
        font-size: 1.25rem !important;
    }
    
    .slide-content p.text-2xl {
        font-size: 1.4rem !important;
    }
}


/* IMPORTANT: No background image paths here - use inline styles for images */

/* Navigation dots - aggressive styling to ensure visibility */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 10px 0;
    position: relative;
    z-index: 10;
    width: 100%;
}

.carousel-dot {
    display: block;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: #cbd5e0;
    margin: 0 8px;
    cursor: pointer;
    border: 2px solid #4a5568;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: rgb(1, 63, 174);
    transform: scale(1.3);
}

/* Line indicators alternative */
.carousel-lines {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    position: relative;
    z-index: 10;
}

.carousel-line {
    height: 6px;
    width: 40px;
    background-color: #cbd5e0;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.carousel-line.active {
    background-color: rgb(1, 63, 174);
    height: 8px;
}

/* Service cards */
.service-card {
    transition: all 0.3s ease;
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c5282; /* text-blue-800 */
}

.service-card p {
    color: #4a5568; /* text-gray-600 */
}

/* Blue hyperlink style for navigation */
.blue-link {
    color: #1a56db; /* Primary blue color */
    text-decoration: none; /* Remove underline by default */
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500; /* Slightly bolder than normal */
}

/* Hover effect - darker blue with underline */
.blue-link:hover {
    color: #1e40af; /* Darker blue on hover */
    text-decoration: underline; /* Show underline on hover */
}

/* Active/clicked state */
.blue-link:active {
    color: #3b82f6; /* Lighter blue when clicked */
}

/* Visited links - optional, keeping them similar to not confuse users */
.blue-link:visited {
    color: #1a56db; /* Same as default or slightly different if preferred */
}

/* Optional: animated underline effect instead of the standard underline */
.blue-link-animated {
    color: #1a56db;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500;
}

.blue-link-animated::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1a56db;
    transition: width 0.3s ease;
}

.blue-link-animated:hover {
    color: #1e40af;
}

.blue-link-animated:hover::after {
    width: 100%;
}


/* Optional: animated underline effect instead of the standard underline */

.white-link-animated {
    color: #fbfbfc;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500;
}

.white-link-animated::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #dbce1a;
    transition: width 0.3s ease;
}

.white-link-animated:hover {
    color: #40af1e;
}

.white-link-animated:hover::after {
    width: 100%;
}

/* Section styles */
.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #2a4365; /* text-blue-900 */
}




/* Contact form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.contact-form label {
    display: block;
    color: #4a5568; /* text-gray-700 */
    margin-bottom: 0.5rem;
}

.contact-form button {
    background-color: #2a4365; /* bg-blue-900 */
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #2c5282; /* bg-blue-800 */
}




/* Partners section */
.partner-card h3 a {
    color: #2c5282; /* text-blue-800 */
    text-decoration: none;
}

.partner-card h3 a:hover {
    text-decoration: underline;
    color: #3182ce; /* text-blue-600 */
}



/* Expertise section */
.expertise-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-container {
        height: 300px;
    }
    
    .slideshow-slide h2 {
        font-size: 1.5rem;
    }
    
    .slideshow-slide p {
        font-size: 1rem;
    }
}




/* Dropdown menu styles for top-left position */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 50;
    border-radius: 4px;
    margin-top: 10px;
}

/* Arrow on top of dropdown */
.dropdown-content:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 15px;
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

.dropdown-content a {
    color: #333;
    padding: 6px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dropdown.show .dropdown-content {
    display: block;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.hamburger-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
    border-radius: 3px;
}



/* ============================================
   RESPONSIVE ADDITIONS - ADD TO END OF styles.css
   ============================================ */

/* Enhanced Mobile Responsiveness for Carousel */
@media (max-width: 480px) {
    .carousel-container {
        height: 250px;
    }
    
    .slide-content h2.text-4xl {
        font-size: 1.5rem !important;
    }
    
    .slide-content p.text-xl,
    .slide-content p.text-2xl {
        font-size: 1rem !important;
    }
    
    .slide-content {
        padding: 1rem !important;
    }
    
    .slide-button-container {
        bottom: 0.5rem !important;
    }
    
    .slide-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Enhanced Tablet Responsiveness */
@media (min-width: 481px) and (max-width: 768px) {
    .carousel-container {
        height: 320px;
    }
    
    .slide-content h2.text-4xl {
        font-size: 2rem !important;
    }
    
    .slide-content p.text-xl {
        font-size: 1.125rem !important;
    }
    
    .slide-content p.text-2xl {
        font-size: 1.25rem !important;
    }
}

/* Improve Service Cards Mobile Layout */
@media (max-width: 767px) {
    .grid.md\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.125rem;
        line-height: 1.3;
    }
}

/* Improve Service Cards Tablet Layout */
@media (min-width: 768px) and (max-width: 1023px) {
    .grid.md\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Enhanced Navigation Dots Mobile */
@media (max-width: 480px) {
    .carousel-dot {
        height: 12px;
        width: 12px;
        margin: 0 4px;
    }
    
    .line-indicator {
        width: 5px;
        margin: 0 4px;
    }
    
    .line-indicators {
        max-width: 250px;
    }
}


/* Logo Mobile Responsiveness */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-top: 5px;
    }
}

/* Section Padding Mobile */
@media (max-width: 640px) {
    .py-12 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Form Mobile Improvements */
@media (max-width: 480px) {
    .contact-form input,
    .contact-form textarea {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .contact-form button {
        width: 100%;
        padding: 0.75rem;
    }
}

/* Expertise Section Mobile */
@media (max-width: 768px) {
    .expertise-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .expertise-content .text-xl {
        font-size: 1.125rem !important;
    }
}

/* Line Indicators Container Mobile */
@media (max-width: 640px) {
    .line-indicators {
        margin: 15px auto;
        max-width: 280px;
    }
}






/* Section Titles Mobile */
@media (max-width: 640px) {
    .text-3xl {
        font-size: 1.5rem !important;
    }
    
    .section-title,
    h2.text-3xl {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.3 !important;
    }
}

/* Dropdown Menu Mobile Improvements */
@media (max-width: 480px) {
    .dropdown-content {
        min-width: 140px;
        left: -20px;
    }
    
    .dropdown-content a {
        padding: 10px 12px;
        font-size: 0.875rem;
    }
}

/* Touch Target Improvements */
.carousel-dot,
.slide-button {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Line indicators stay small */
.line-indicator {
    height: 4px;
    width: 25px;
    margin: 0 4px;
}

/* Keep hamburger button separate */
.hamburger-btn {
    min-height: 44px;
    min-width: 44px;
    /* Don't add display: flex - it breaks the line layout */
}

/* Ensure hamburger lines stay vertical */
.hamburger-line {
    display: block !important;
    width: 25px !important;
    height: 3px !important;
    margin: 5px 0 !important;
    background-color: white !important;
    border-radius: 3px !important;
}


/* Navigation Links Mobile */
@media (max-width: 767px) {
    .nav-link {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Carousel Dots Container Mobile */
@media (max-width: 480px) {
    .carousel-dots {
        margin: 10px 0;
        padding: 5px 0;
    }
}



/* BEST CROSS-DEVICE SOLUTION - Add to styles.css */

.slide-button-positioned {
    /* Positioning */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    
    /* Button styling */
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    
    /* Touch-friendly sizing */
    min-height: 2px;
    min-width: 120px;
    
    /* Prevent text issues */
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    
    /* Ensure it stays on top */
    z-index: 10;
}

/* Hover effects */
.slide-button-positioned:hover {
    transform: translateX(-50%) translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

/* Active/pressed state for touch devices */
.slide-button-positioned:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive sizing */
@media (max-width: 480px) {
    .slide-button-positioned {
        bottom: 0.0rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (min-width: 768px) {
    .slide-button-positioned {
        bottom: 0.0rem;
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
        min-width: 140px;
    }
}

@media (min-width: 1024px) {
    .slide-button-positioned {
        bottom: 0.0rem;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}