/* --- Global Styles & Variables --- */
:root {
    --navy-blue: #0A192F;
    --royal-blue: #1E3A8A;
    --accent-yellow: #FFD700;
    --light-slate: #CCD6F6;
    --slate: #8892B0;
    --white: #FFFFFF;
    --background-light: #F8F9FA;
    --font-primary: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--slate);
    line-height: 1.6;
    font-size: 16px;
    color: #4d4d4d;
}

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

h1, h2, h3 {
    color: var(--navy-blue);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 40px; }
p.section-intro { max-width: 800px; margin: -20px auto 40px; text-align: center; font-size: 1.1rem; }

section {
    padding: 80px 0;
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--navy-blue);
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- Navbar --- */
.navbar {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--navy-blue); }

/* --- Logo Styling --- */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 91px;
    width: auto;
}

.logo-text-beside {
    color: var(--navy-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 15px;
}

.footer .logo-link {
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 104px;
    width: 104px; /* Set a fixed width to ensure a perfect circle */
    opacity: 0.8;
    border-radius: 50%;
    border: 2px solid var(--white); /* The thin white line you wanted */
    box-sizing: border-box;
}

.footer .logo-text-beside {
    font-size: 1.8rem;
    color: var(--white);
}



/* --- Hero Section --- */
.hero {
    background-color: var(--navy-blue); /* Solid navy blue base color */
    color: var(--light-slate);
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* This creates the semi-transparent image layer */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;

    background-image: url('https://i.postimg.cc/DwqDtvbh/TR-YT-Banner.png');
    background-size: cover;
    background-position: center;
    
    /* You can adjust this value to make the background more or less faint */
    opacity: 1; 
}

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



/* Adds a shadow to make the main heading readable */
.hero h1 {
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* The fix for readability */
}

/* Adds a shadow to make the subheading readable */
.hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 30px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7); /* The fix for readability */
}


/* --- Problem Section --- */
.problem-section { background-color: var(--background-light); }


.problem-section p { max-width: 800px; margin: 0 auto; text-align: center; font-size: 1.1rem; }

/* --- Process Section --- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.process-step { background-color: #fff; padding: 30px; border-radius: 8px; text-align: center; border: 1px solid #e0e0e0; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.process-step:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.step-icon { font-size: 2.5rem; color: var(--accent-yellow); margin-bottom: 20px; }
.process-step h3 { margin-bottom: 15px; font-size: 1.2rem; }

/* --- Partnership / Value Section --- */
.partnership-section { background-color: var(--navy-blue); }
.partnership-section h2 { color: var(--white); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.value-item { text-align: center; color: var(--light-slate); }
.value-item i { font-size: 2.5rem; color: var(--accent-yellow); margin-bottom: 20px; }
.value-item h3 { color: var(--white); margin-bottom: 10px; }

/* --- "Grow With Us" (Vision) Section --- */
.vision-section { background-color: var(--background-light); }
/* Replace your .growth-path-container rule with this */
.growth-path-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* --- Growth Cards (icon centered above text) --- */
.growth-card {
  background-color: var(--white);
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;          /* center icon horizontally */
  text-align: center;           /* center text for balance */
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.growth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.growth-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}

.growth-card-icon i {
  font-size: 2.8rem;
  color: var(--accent-yellow);
}

.growth-card-content {
  margin: 0;
}

.growth-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--text-dark, #111);
}

.growth-card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted, #444);
  margin: 0;
}

/* Mobile: tighter padding and spacing */
@media (max-width: 640px) {
  .growth-card {
    padding: 28px 24px;
    gap: 16px;
  }

  .growth-card-icon i {
    font-size: 2.4rem;
  }
}

/* Mobile tweak: tighten spacing on narrow screens */
@media (max-width: 640px) {
  .growth-card {
    padding: 28px 24px;
    gap: 16px;
  }
  .growth-card-icon i {
    font-size: 2.4rem;
  }
}


/* --- FAQ Section --- */
.faq-section .container { max-width: 800px; }
.faq-item { border-bottom: 1px solid #e0e0e0; padding: 20px 0; }
.faq-item summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--navy-blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform 0.3s ease; }
.faq-item[open] summary::after { content: '\f068'; transform: rotate(180deg); }
.faq-item p { margin-top: 15px; padding-left: 10px; }
/* Add spacing before lists inside FAQ items */
.faq-item p + ul {
  margin-top: 12px;      /* space before the list starts */
  padding-left: 25px;    /* optional: slight indent for bullets */
}


/* --- CTA Section --- */
.cta-section { background-color: var(--accent-yellow); text-align: center; }
.cta-section h2, .cta-section p { color: var(--navy-blue); }
.cta-section p { margin: 15px 0 25px; }
.cta-section .cta-button { background-color: var(--navy-blue); color: var(--white); }

/* --- Footer --- */
.footer { background-color: var(--navy-blue); color: var(--slate); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-column h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; }
.footer-column.about .logo-text { font-size: 1.8rem; margin-bottom: 15px; }
.footer-column .tagline { color: var(--light-slate); font-size: 1rem; margin-bottom: 10px; font-style: italic; }
.footer-column .pillars { font-size: 0.9rem; }
.footer-column.links ul { list-style: none; }
.footer-column.links ul li { margin-bottom: 10px; }
.footer-column.links a { text-decoration: none; color: var(--slate); transition: color 0.3s ease; }
.footer-column.links a:hover { color: var(--accent-yellow); }
.social-links { margin-bottom: 20px; }
.social-links a { color: var(--light-slate); font-size: 1.8rem; margin-right: 20px; transition: color 0.3s ease; }
.social-links a:hover { color: var(--accent-yellow); }
.footer-contact { color: var(--slate); text-decoration: none; transition: color 0.3s ease; }
.footer-contact:hover { color: var(--accent-yellow); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #1E3A8A; font-size: 0.9rem; }

/* --- Form Section --- */
.form-section {
    background-color: var(--background-light); 
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #4d4d4d;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
}

.contact-form .cta-button {
    width: 100%;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

/* --- Success Message Styling --- */
#success-message {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

#success-message h3 {
    color: var(--navy-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

#success-message h4 {
    color: var(--royal-blue);
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
}


/* --- Responsive Design --- */
@media(max-width: 900px) {
    .growth-path-container {
        grid-template-columns: 1fr;
    }
}
@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .navbar .container { flex-direction: column; gap: 15px; }
    .hero { height: auto; padding: 80px 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links a {
        margin: 0 10px;
    }
}

/* --- Animation --- */
@keyframes movePattern {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

/* --- Final Mobile Responsiveness Fixes --- */
@media (max-width: 768px) {

    /* General fix for text alignment and the "blank space on the right" */
    body {
        overflow-x: hidden;
    }

    /* Fix 1: Make Hero text more readable */
    .hero h1 {
        font-size: 2.2rem; /* Slightly smaller to prevent wrapping */
        line-height: 1.3;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    /* Fix 2: Force all multi-column sections to stack */
    .process-grid,
    .value-grid,
    .growth-path-container {
        grid-template-columns: 1fr; /* This makes all grids single-column on mobile */
    }

    /* Fix 3: Center alignment and spacing for stacked cards */
    .value-item {
        text-align: center;
    }

    .growth-card {
        /* Reverts to the original side-by-side icon/text for better readability in a single column */
        flex-direction: row; 
        align-items: flex-start;
        text-align: left;
    }

    /* Fix 4: Ensure Problem section text is centered */
    .problem-section h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .problem-section p {
        text-align: center;
    }
}