/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* === VARIABLES (Dark Mode Theme) === */
:root {
    --primary-color: #00d4ff; /* Electric Cyan */
    --background-color: #050a12; /* Deep Navy */
    --card-bg-color: rgba(23, 30, 44, 0.6); /* Semi-transparent card */
    --glass-bg-color: rgba(10, 20, 35, 0.5);
    --text-color: #e0e0e0; /* Light Grey */
    --heading-color: #ffffff;
    --header-height: 70px;
}

/* === BASE STYLES === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: var(--background-color); color: var(--text-color); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--heading-color); line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; }
a { text-decoration: none; color: var(--primary-color); }
main { padding-top: var(--header-height); }
.section { padding: 80px 0; }
.page-header { text-align: center; padding: 60px 0; }
.page-header h1 { margin-bottom: 1rem; }

/* === HEADER & NAVIGATION (Glassmorphism) === */
.header { width: 100%; height: var(--header-height); background: var(--glass-bg-color); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: fixed; top: 0; left: 0; z-index: 100; }
.nav { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.nav__logo { font-size: 1.5rem; font-weight: 700; color: var(--heading-color); }
.nav__logo span { color: var(--primary-color); }
.nav__list { display: flex; list-style: none; gap: 30px; }
.nav__link { color: var(--text-color); font-weight: 500; transition: color 0.3s; padding-bottom: 5px; border-bottom: 2px solid transparent; }
.nav__link:hover, .nav__link.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.nav__toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--heading-color); }
/* css/style.css -- Add this code */

/* --- Header Logo Enhancement --- */
.nav__logo {
    display: flex;       /* Aligns icon and text on the same line */
    align-items: center; /* Vertically centers the icon with the text */
    gap: 10px;           /* Creates space between the icon and "AaryOM" */
}

.nav__logo i {
    color: var(--primary-color); /* Makes the logo icon cyan */
    font-size: 1.7rem;       /* Adjusts the icon size */
}

/* --- Header Logo Enhancement (Image Logo) --- */
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between logo image and "AaryOM" text */
}

.nav__logo img {
    height: 40px; /* Adjust this value as needed for desired size */
    width: auto; /* Ensures aspect ratio is maintained */
}

/* === HERO SECTION (Video Background) === */
.hero { position: relative; height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(5, 10, 18, 0.7); z-index: -1; }
.hero__text { max-width: 800px; }
.btn { display: inline-block; padding: 14px 32px; background-color: var(--primary-color); color: var(--background-color); font-weight: 600; border-radius: 8px; transition: transform 0.3s, box-shadow 0.3s; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3); }

/* === BENTO GRID SECTION === */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); gap: 20px; margin-top: 40px; }
.bento-item { background: var(--card-bg-color); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 25px; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.bento-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); border-color: rgba(0, 212, 255, 0.5); }
.bento-item .icon { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; }
.bento-item h3 { margin-bottom: 0.5rem; }
.bento-item--2x2 { grid-column: span 2; grid-row: span 2; }
.bento-item--2x1 { grid-column: span 2; }
.bento-item--1x1 { grid-column: span 1; }
.bento-item--stat { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.bento-item--stat .stat-number { font-size: 3.5rem; font-weight: 700; color: var(--primary-color); }

/* === CONTACT PAGE STYLES === */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: flex-start; }
.contact-info p { display: flex; align-items: center; gap: 15px; margin-bottom: 1rem; }
.contact-info .fas { color: var(--primary-color); font-size: 1.2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-control { width: 100%; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; font-family: 'Poppins', sans-serif; background-color: rgba(0, 0, 0, 0.2); color: var(--text-color); }
.form-control:focus { outline: none; border-color: var(--primary-color); }

/* === SCROLL ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === FOOTER === */
.footer { text-align: center; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 60px; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .hero { height: 80vh; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-item--2x2 { grid-column: span 2; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero { height: 70vh; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item--2x2, .bento-item--2x1, .bento-item--1x1 { grid-column: span 1; grid-row: span 1; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .nav__toggle { display: block; }
    .nav__list { position: fixed; top: var(--header-height); right: -100%; width: 100%; height: calc(100vh - var(--header-height)); flex-direction: column; background: var(--background-color); padding: 2rem; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2); transition: right 0.4s; gap: 25px; align-items: center; }
    .nav__list.nav-active { right: 0; }
	.advantage-row, .advantage-row.row-reverse {
    grid-template-columns: 1fr; /* Stack to a single column */
    text-align: center;
}
.advantage-row.row-reverse .advantage-text {
    text-align: center; /* Reset alignment for mobile */
}
.advantage-icon {
    margin-bottom: 1rem;
}
}

/* css/style.css -- ADD THIS AT THE BOTTOM (or replace the old version) */

/* === CASE STUDY PAGE ENHANCEMENTS (v2) === */
/* Add this new rule to your Case Study CSS section */
.case-study-details h2 {
    font-size: 2.2rem;
    text-align: center; /* Also centers it nicely */
}

.case-study-details h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.case-study-details table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse; /* Ensures borders are clean */
}
.case-study-details th, .case-study-details td {
    text-align: left;
    padding: 15px 0; /* More vertical space, no horizontal padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.case-study-details th {
    width: 30%;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.7; /* Distinguishes label from value */
}
.case-study-details td {
    font-weight: 600;
    color: var(--heading-color);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    text-align: center;
}
.result-stat {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s, border-color 0.3s;
}
.result-stat:hover {
    background-color: rgba(0, 212, 255, 0.05);
    border-color: var(--primary-color);
}
.result-stat .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}
.result-stat p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* A more robust grid for the project spotlights */
.grid-2-col {
    display: grid;
    /* This makes it responsive without media queries */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* css/style.css -- ADD THIS AT THE BOTTOM */

/* === CASE STUDY PAGE ENHANCEMENTS === */
/*
.case-study-details table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
.case-study-details th, .case-study-details td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.case-study-details th {
    width: 30%;
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    text-align: center;
}
.result-stat {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}
.result-stat .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

*/

/* css/style.css -- Replace the old services section with this */

/* === SERVICES PAGE ENHANCEMENTS (V2) === */
.tech-category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-stack-grid {
    display: grid;
    /* Creates a responsive grid of items, min 120px wide */
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    text-align: center;
}
.tech-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 15px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
}
.tech-item:hover {
    transform: scale(1.05);
    background-color: rgba(0, 212, 255, 0.05);
    border-color: var(--primary-color);
}
.tech-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
    opacity: 0.9;
}
.tech-item p {
    font-weight: 500;
    font-size: 0.9rem;
}

/* css/style.css -- Replace your existing About Page block with this */

/* === ABOUT PAGE ENHANCEMENTS (V2) === */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.team-profile-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.team-profile-card .leader-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.team-profile-card h3 {
    margin-bottom: 1rem;
}
.team-profile-card .expertise-list {
    list-style-type: none;
    margin-top: 1.5rem;
    padding-left: 0;
    text-align: left;
}
.team-profile-card .expertise-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.team-profile-card .expertise-list .fa-check-circle {
    color: var(--primary-color);
    margin-right: 10px;
}
.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Styles for the redesigned "Advantage" section */
.advantage-row {
    display: grid;
    /* THIS IS THE CORRECTED LINE: Changed from 1fr 2fr */
    grid-template-columns: 1fr 1fr; 
    align-items: center;
    gap: 40px;
    margin-bottom: 4rem;
}
.advantage-row:last-child {
    margin-bottom: 0;
}
.advantage-icon {
    text-align: center;
}
.advantage-icon i {
    font-size: 5rem;
    color: var(--primary-color);
}
.advantage-text h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* For alternating the layout */
.advantage-row.row-reverse .advantage-icon {
    grid-column: 2;
    grid-row: 1;
}
.advantage-row.row-reverse .advantage-text {
    grid-column: 1;
    grid-row: 1;
    /* The problematic "text-align: right;" line has been REMOVED */
}

/* css/style.css -- Replace your existing contact section with this */

/* === CONTACT PAGE ENHANCEMENTS (V3 - FINAL DESIGN) === */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Sidebar takes 1 part, main content takes 2 */
    gap: 60px;
    align-items: start;
}

.contact-sidebar {
    position: sticky;
    /* Sticks the sidebar just below your main site header */
    top: calc(var(--header-height) + 40px); 
}

.contact-sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-sidebar-details {
    list-style: none;
    padding: 0;
}

.contact-sidebar-details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2rem;
}

.contact-sidebar-details .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.contact-sidebar-details .text-label {
    font-weight: 500;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.contact-main-content .page-header {
    padding: 0; /* Remove default padding for better alignment */
    text-align: left;
}
.contact-main-content .page-header p {
    margin: 1.5rem 0 3rem 0;
    max-width: none;
}

.booking-cta {
    background: var(--card-bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}
.booking-cta .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.faq-section {
    margin-top: 4rem;
}
.faq-item {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.faq-item h4 {
    color: var(--heading-color);
    font-weight: 500;
}
.faq-item p {
    opacity: 0.8;
}

/* Responsive adjustments for the contact page */
@media (max-width: 992px) {
    .contact-layout-grid {
        grid-template-columns: 1fr; /* Stack columns on tablets and mobile */
    }
    .contact-sidebar {
        position: static; /* Un-stick the sidebar */
        margin-bottom: 4rem;
    }
}

