/* --- Base Styles & Variables --- */
:root {
    --bg-dark: #121828; /* Dark blue/grey background */
    --bg-dark-accent: #1a2035;
    --text-light: #E0E0E0;
    --text-white: #FFFFFF;
    --primary-accent: #6A5ACD; /* Slate Blue */
    --secondary-accent: #4682B4; /* Steel Blue */
    --glass-bg: rgba(255, 255, 255, 0.08); /* Subtle white glass */
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 10px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    /* Subtle gradient background for better glass effect visibility */
    background-image: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-accent) 100%);
    background-attachment: fixed; /* Keeps gradient stable on scroll */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.8rem; line-height: 1.2;}
h2 { font-size: 2.2rem; text-align: center;}
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-accent);
}

ul {
    list-style: none;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after { /* Subtle underline effect */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-accent);
    border-radius: 2px;
}

/* --- Glassmorphism Effect --- */
.glassy-effect, .glassy-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur)); /* Safari support */
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* --- Header / Navigation --- */
.site-header {
    position: sticky; /* Sticky navigation */
    top: 15px; /* Add some space from top */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px; /* Padding for sides */
}

.glassy-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px; /* Slightly wider nav container */
    margin: 0 auto; /* Center the nav bar */
    border-radius: var(--border-radius-lg); /* More rounded nav */
}

/* Updated Logo Styling */
.logo {
    line-height: 1; /* Adjust line height for multi-line logo */
    text-align: left; /* Or center if you prefer */
}
.logo-main {
    display: block; /* Make main name take full width */
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
}
.logo-sub {
    display: block; /* Put subtitle on new line */
    font-size: 0.75rem; /* Make subtitle smaller */
    font-weight: 400;
    color: var(--text-light);
    opacity: 0.8;
    margin-top: 2px; /* Small space between lines */
    letter-spacing: 0.5px; /* Optional: slight letter spacing */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 5px 0; /* Add padding for larger clickable area */
}

.nav-links a:hover {
    color: var(--text-white);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: var(--border-radius-lg); /* Rounded buttons */
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-white);
    position: relative; /* Needed for potential pseudo-elements */
    overflow: hidden; /* Clip potential overflow from effects */
}

.btn.glassy-effect { /* Apply glass effect to buttons */
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-accent);
    border-color: rgba(255, 255, 255, 0.2); /* Slightly lighter border for primary */
}

.btn-secondary {
    background-color: var(--secondary-accent);
     border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary.glassy-effect { background: rgba(106, 90, 205, 0.7); } /* Semi-transparent primary */
.btn-secondary.glassy-effect { background: rgba(70, 130, 180, 0.7); } /* Semi-transparent secondary */

/* Button Hover State - Text color changes */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    color: var(--bg-dark); /* Change text to dark color on hover */
}
.btn-primary:hover {
    background-color: #7b68ee; /* Slightly lighter background */
}
.btn-secondary:hover {
    background-color: #5a9bd5; /* Slightly lighter background */
}

/* Button Active State - Text color changes */
.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    color: var(--bg-dark); /* Ensure text remains dark when clicked */
}
.btn-primary:active {
    background-color: #5a4fcf; /* Slightly darker than hover */
}
.btn-secondary:active {
    background-color: #40729b; /* Slightly darker than hover */
}


.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}


/* --- Hero Section --- */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* padding: 60px 0; */
    padding-top: 60px;    
    padding-bottom: 30px;
    /*background: url('https://via.placeholder.com/1600x900/1a2035/121828?text=Abstract+AI+Background') no-repeat center center/cover;*/ /* Placeholder background - REPLACE THIS */
    /* Add a subtle overlay */
    position: relative;
    
    overflow: hidden;
    /* Using static overlay, not animated gradient */
    background-color: var(--bg-dark-accent); /* Fallback background */
    /* You can add a static background image here if desired */
    /* background: url('path/to/your/image.jpg') no-repeat center center/cover; */
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 24, 40, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative; /* Ensure content is above overlay */
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem; /* Adjusted margin */
    color: var(--text-light);
    opacity: 0.9;
}

/* Style for the Moto */
.hero-content .moto {
    font-size: 1.3rem; /* Slightly larger than regular subtitle */
    font-style: italic;
    margin: 1rem 0 2.5rem 0; /* Adjust spacing */
    color: var(--text-white);
    opacity: 0.95;
    font-weight: 400;
}


.hero-content .btn {
    margin: 10px;
}

/* --- Services Section & Other IT Services Section --- */
/* Shared styles for card grids */
.services-grid {
    display: grid;
    /* Adjusted minmax slightly to better accommodate 3 columns */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Shared Card Styles */
.card {
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--border-radius-md); /* Ensure cards are rounded */
}

/* Inherits .glassy-effect for background, blur, border */

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--text-white);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0; /* Remove default bottom margin if it's the last element */
}

/* Optional: Add styles for card icons if using Font Awesome etc. */
/* .card-icon { font-size: 2rem; color: var(--primary-accent); margin-bottom: 15px; display: block; } */


/* --- Features Section --- */
.features-section {
     background-color: var(--bg-dark-accent); /* Slightly different background */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Handles 2 or 3 columns */
    gap: 30px; /* Reduced gap slightly */
    text-align: center;
}

.feature-item {
     padding: 20px; /* Add some padding */
}

.feature-item h3 {
    margin-top: 10px; /* Space between icon and title */
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
     margin-bottom: 0;
}
/* Optional: Add styles for feature icons if using Font Awesome etc. */
/* .feature-icon { font-size: 2.5rem; color: var(--primary-accent); margin-bottom: 15px; } */


/* --- Process Section --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: center;
}

.step { /* Steps use the card styling + glassy effect */
    padding: 25px;
    font-weight: 600;
    position: relative;
}

.step span { /* Style the number */
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 10px;
}


/* --- CTA Section --- */
.cta-section {
    background-color: transparent; /* Let body background show */
}

.cta-content { /* CTA box uses glassy effect */
    padding: 50px 40px;
    text-align: center;
    border-radius: var(--border-radius-lg); /* More rounded CTA box */
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 1.5rem; /* Adjusted spacing */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Styling for added contact info */
.contact-info {
    margin: 2.5rem 0; /* Add space around contact details */
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8; /* Increase line spacing for readability */
}

.contact-info p {
    margin-bottom: 0.5rem; /* Space between contact lines */
}

.contact-info strong {
    color: var(--text-white);
    margin-right: 8px; /* Space after bold label */
    display: inline-block; /* Ensures proper spacing */
    min-width: 70px; /* Align labels nicely */
    text-align: left;
}

.contact-info a {
    color: var(--secondary-accent); /* Use secondary color for links here */
    text-decoration: none; /* Remove underline by default */
    border-bottom: 1px dashed var(--secondary-accent); /* Subtle underline */
    transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-info a:hover {
    color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.cta-content .btn {
    margin-top: 1rem; /* Space above button */
}


/* --- Footer --- */
.site-footer {
    background-color: var(--bg-dark-accent);
    padding: 30px 0;
    margin-top: 60px; /* Space above footer */
    text-align: center;
    border-top: 1px solid var(--glass-border); /* Subtle top border */
    font-size: 0.9rem;
}

.footer-content {
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap; /* Wrap on smaller screens */
     gap: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-white);
}


/* --- Responsive Design --- */
@media (max-width: 992px) { /* Tablet breakpoint */
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }

    .services-grid, .features-grid {
        /* Ensure 2 columns fit well */
         grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}


@media (max-width: 768px) { /* Mobile breakpoint */
    h1 { font-size: 2.0rem; }
    h2 { font-size: 1.8rem; }

    .glassy-nav {
        flex-direction: column;
        align-items: flex-start; /* Align logo left */
        padding: 15px 20px;
    }

    .logo {
        margin-bottom: 10px; /* Space below logo */
    }

    .logo-main { font-size: 1.6rem; }
    .logo-sub { font-size: 0.7rem; }

    .nav-links {
        /* Example: Hide for basic approach. Replace with burger menu logic */
        display: none;
        /* Or style for vertical layout if using JS toggle: */
        /* display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 15px; */
    }

     .glassy-nav .btn {
        /* Example: Hide for basic approach. Place elsewhere or integrate with burger */
        display: none;
        /* Or style if kept: */
        /* align-self: flex-start;
        margin-top: 15px; */
     }

    .hero-section {
        min-height: 70vh;
        padding: 40px 0;
    }
     .hero-content .subtitle { font-size: 1.1rem; }
    .hero-content .moto { font-size: 1.1rem; margin: 1rem 0 2rem 0;}

    .section-padding {
        padding: 60px 0;
    }

    /* Stack grids */
    .services-grid, .features-grid, .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-content {
        padding: 40px 25px;
    }

    .contact-info {
        font-size: 0.95rem;
        text-align: left; /* Align contact info left on mobile */
    }
     .contact-info strong { min-width: 60px; } /* Adjust label width */


    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
}