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

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* --- Hero Section --- */
.hero {
    height: 80vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: 75% 25%;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
}

.hero h1 {
    font-family: "Turret Road", sans-serif;
    font-weight: 700;
    font-size: 3.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}

/* --- Call to Action Button (NEW & DETAILED) --- */
.cta-button {
    /* Font and Text Styling */
    font-family: "Turret Road", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #eee8e8e3;
    text-decoration: none;
    letter-spacing: 0px;
    /* Using text-shadow to create a subtle outline */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    
    /* Layout and Sizing */
    display: inline-block;
    padding: 10px 10px;
    position: relative;
    
    /* Background Layers: 1. Noise Texture, 2. Gradient */
    background-image: 
        /* 1. A repeating SVG noise pattern */
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="10" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23n)" opacity="0.1"/%3E%3C/svg%3E'),
        /* 2. The main color gradient */
        linear-gradient(to bottom, #3f6ac7, #828fac);

    /* Border and Shadows */
    border: 1px solid #fff;
    /* Multiple shadows: 1. Inner highlight, 2. Outer drop shadow */
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.5);

    /* The Clipped Shape */
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    
    transition: all 0.2s ease-in-out;
}

.cta-button:hover {
    background-color: #4a68a5; /* Brighten the gradient on hover */
    transform: translateY(-3px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        0 6px 20px rgba(0, 0, 0, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.2rem; }
    .cta-button { padding: 12px 30px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; letter-spacing: 3px; }
    .hero p { font-size: 1rem; }
}


/* ================================================= */
/*          NEW CSS FOR CONTENT AND ABOUT SECTION    */
/* ================================================= */

/* --- Main Content Wrapper --- */
.content-wrapper {
    background-color: #fff;
    color: #333; /* Default dark text color for sections */
    border-radius: 30px; /* Rounded top corners */
    position: relative;
    z-index: 10;
    margin-top: -25px; /* Pulls the white section up under the hero */
    padding-top: 20px;
    overflow: hidden;
}

/* --- General Container for Centering Content --- */
.container {
    max-width: 95vw;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- About Us Section --- */
.about-section {
    padding: 50px 0 80px 0; 
}

/* All other rules (.about-grid, .about-text, etc.) remain exactly as you had them */

.about-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: start;
}

.about-text {
    padding-right: 60px;
}

/* ... your h2 and p rules ... */
.about-text h2 {
    font-family: "Gugi", sans-serif;
    font-weight: 100;
    color: #132c6d;
    font-size: 2rem;
    letter-spacing: 0px;
    margin-bottom: 20px;
}

.about-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}


.about-image {
    /* Your setting is correct and is now respected without causing a gap */
    width: 100%;
    height: auto;
    /* max-height: 65vh; */
}

.about-image img {
  width: 100%;
  height: auto; /* natural scaling */
  max-height: 50vh;
  /* max-width: 50vw; */
  aspect-ratio: 16 / 9; /* gives you a consistent proportional height */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Responsive Tablet View --- */
@media (max-width: 992px) {
    .about-section {
        margin-bottom: 0; /* IMPORTANT: Reset margin for stacked layout */
    }
    
    /* ... your other tablet styles ... */
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        padding: 0 20px;
        margin-top: 40px;
    }

    .about-image {
        order: -1;
        padding: 0 20px;
        height: auto; /* Let image height be natural on mobile */
    }
}

/* --- Quote Bar --- */
.quote-bar {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    /* This margin pulls it up against the About section */
    margin-top: 0;
    /* top: -60px ; */
}

.quote-bar p {
    font-family: 'Roboto', sans-serif;
    /* font-style: italic; */
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-bar p span {
    margin-right: 15px;
    font-style: normal; /* The bar itself isn't italic */
    opacity: 0.8; /* Makes the bar slightly less prominent than the text */
}


/* ================================================= */
/* OUR SERVICES SECTION */
/* ================================================= */
.services-section {
  background-color: #fff;
  color: #333;
  padding: 60px 0;
}

.services-section h2 {
  font-family: "Gugi", sans-serif;
  font-weight: 200;
  font-size: 2rem;
  letter-spacing: 0;
  color: #132c6d;
  margin-bottom: 50px;
  text-align: left;
}

/* Card Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 80vw;
  margin: 0 auto;
  justify-content: center;
}

/* Each Card */
.service-card {
  background-color: #fdfdfd; /* CHANGED: A slightly off-white gives a softer feel */
  border-radius: 15px;
  border: 1px solid #eee; /* CHANGED: A subtle border as seen in the design */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Animation styles remain the same */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Image Styling */
.service-card img {
  display: block;
  width: 100%;
  height: auto;
  /* THIS IS THE FIX FOR THE SHARP CORNERS */
  border-radius: 15px 15px 0 0; /* CHANGED */
}

.service-content {
  padding: 30px 25px 30px 25px; /* CHANGED: More vertical padding */
}

/* Headings inside cards */
.service-content h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.35rem;         /* CHANGED: Increased font size for impact */
  font-weight: 700;           /* CHANGED: Explicitly bold */
  line-height: 1.4;           /* CHANGED: More space between lines */
  color: #222;               /* CHANGED: Dark charcoal instead of pure black */
  min-height: 0;              /* CHANGED: We don't need min-height anymore */
  display: block;             /* CHANGED: Reset flex properties */
  margin-bottom: 15px;        /* CHANGED: More space below the heading */
}

/* Descriptions */
.service-content p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;            /* CHANGED: Increased to standard readable size */
  color: #666;               /* CHANGED: A lighter gray to match the design */
  line-height: 1.7;           /* CHANGED: Slightly increased for better readability */
  margin: 0;
}

/* Responsive Adjustments (No changes needed here, they are fine) */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 90vw;
  }
  .services-section h2 {
    text-align: center;
    font-size: 2rem;
  }
  .service-content {
    text-align: center;
  }
}

/* ================================================= */
/* WHY CHOOSE US SECTION */
/* ================================================= */
.why-choose-section {
    padding: 30px 0;
    background-color: #fff;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Left column is smaller */
    gap: 60px;
    align-items: start;
}

.why-choose-heading h2 {
    font-family: "Gugi", sans-serif;
    font-weight: 400;
    color: #132c6d;
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: 1px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    background-color: #F7F9FC; /* Light, cool off-white background */
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: flex-start; /* Aligns icon to the top of the text block */
    gap: 20px;
    transition: all 0.3s ease-in-out;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: #6A82CF; /* A pleasant, medium blue for the icons */
    margin-top: 2px; /* Small adjustment for perfect vertical alignment */
    flex-shrink: 0; /* Prevents the icon from shrinking */
}

.feature-text h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #341c8a;
    margin: 0 0 8px 0;
}

.feature-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Scroll Animation for Feature Items */
.feature-item {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}
.feature-item.visible {
    opacity: 1;
    transform: translateX(0);
}
/* Staggered delay for a nicer effect */
.feature-item:nth-child(2) { transition-delay: 0.1s; }
.feature-item:nth-child(3) { transition-delay: 0.2s; }


/* Responsive Adjustments for Why Choose Us */
@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 40px;
    }

    .why-choose-heading h2 {
        text-align: center;
        font-size: 2.2rem;
    }
}

/* ------------------------------------------- */
/* --- GET IN TOUCH (TYPEFORM STYLE) SECTION --- */
/* ------------------------------------------- */
.contact-tf-section {
  /* background-color: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center; */
  padding: 40px 0
}

.contact-tf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* align-items: center; */
  gap: 80px;
}

.contact-tf-text h2 {
  font-family: "Gugi", sans-serif; /* CHANGED */
  font-weight: 400;                /* CHANGED */
  color: #132c6d;                  /* CHANGED */
  font-size: 2rem;
  letter-spacing: 1px;             /* ADDED for consistency */
  margin-bottom: 20px;
}

.contact-tf-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #5a6470;
  /* max-width: 450px; */
}

/* --- Form Wrapper & Progress Bar --- */
.contact-tf-form-wrapper {
  position: relative;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: #dbeaff;
  border-radius: 4px;
  position: absolute;
  top: -40px;
}

.progress-bar-inner {
  height: 100%;
  width: 0;
  background-color: #005A99;
  border-radius: 4px;
  transition: width 0.4s ease-in-out;
}

/* --- Multi-Step Form Core --- */
.multi-step-form {
  position: relative;
}

.form-steps {
  position: relative;
  min-height: 250px; /* Prevents layout jump */
  overflow: hidden;
}

.form-step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s;
}

.form-step.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Form Elements Styling --- */
.form-step label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 500;
  color: #343a40;
  margin-bottom: 40px;
}

.form-step label span, .form-step label svg {
  color: #005A99;
}

.form-step label svg {
  width: 20px;
}

.form-step input,
.form-step textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ced4da;
  padding: 10px 0;
  font-size: 2rem;
  font-weight: 500;
  color: #004B87;
  background-color: transparent;
  outline: none;
  transition: border-color 0.3s;
}

.form-step input:focus,
.form-step textarea:focus {
  border-bottom-color: #004B87;
}

.form-step input::placeholder,
.form-step textarea::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

.form-step textarea {
  resize: none;
  line-height: 1.4;
  font-size: 1.5rem; /* Slightly smaller for textarea */
}

/* --- Buttons & Hints --- */
.button-group {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-ok, .btn-submit {
  background-color: #003E6B;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-ok:hover, .btn-submit:hover {
  background-color: #005A99;
  transform: scale(0.98);
}
.btn-submit.loading {
  pointer-events: none;
  background-color: #005A99;
}

.key-hint {
  font-size: 0.9rem;
  color: #6c757d;
}
.key-hint.small {
  margin-top: 10px;
  display: block;
}

/* --- Navigation Arrows & Powered By --- */
.form-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 40px;
}
.nav-arrow {
  background: #003E6B;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-arrow:disabled {
  background-color: #ced4da;
  cursor: not-allowed;
}

.powered-by {
  /* margin-left: auto; */
  background-color: #003E6B;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
}

/* --- Error & Success States --- */
.form-step .error-message {
  color: #d9534f;
  font-size: 0.9rem;
  margin-top: 10px;
  display: none;
}
.form-step.has-error .error-message {
  display: block;
}
.form-step.has-error input {
  border-bottom-color: #d9534f;
}

.success-step .success-content {
  text-align: center;
  padding: 40px 0;
}
.success-content p {
  font-size: 1.5rem;
  color: #343a40;
  margin-bottom: 25px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-icons a {
  color: #003E6B;
  transition: color 0.2s;
}
.social-icons a:hover {
  color: #005A99;
}
.social-icons svg {
  width: 32px;
  height: 32px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) { /* Tablet view */
  .contact-tf-grid {
    grid-template-columns: 1fr; /* Stack them */
    gap: 60px;
  }
  .contact-tf-text {
    text-align: center;
  }
  .contact-tf-text p {
    margin: 0 auto;
  }
}

.contact-tf-text #get-in-touch-heading {
  min-height: 3.4rem; /* Prevents layout shift during animation */
}

/* ================================================= */
/*       CONTACT INFO & LOCATION SECTION             */
/* ================================================= */
.contact-info-section {
    padding: 50px 0 5vh 0; /* Adds spacing above and below the section */
    background-color: #fff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 2fr 4fr; /* 40% / 60% ratio as requested */
    gap: 60px;
    align-items: start; /* Vertically aligns content if columns have different heights */
}

/* --- Left Column: Text Details --- */
.contact-details .info-block:first-child {
    margin-bottom: 40px; /* Space between "Contact Info" and "Our Location" */
}

.contact-details h3 {
    font-family: "Gugi", sans-serif;
    font-weight: 400;
    color: #132c6d;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.contact-details p {
    font-family: 'Roboto', sans-serif;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.contact-details p a {
    color: inherit; /* Link color will be the same as the paragraph text */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.contact-details p a:hover {
    color: #132c6d; /* Link color changes to blue on hover */
}

/* --- Right Column: Google Map --- */
.contact-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    border: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: 1fr; /* Stack the columns on smaller screens */
        gap: 40px;
        text-align: center; /* Center the text for a stacked layout */
    }

    .contact-details p a {
        /* On mobile, it's good to ensure links are easy to see */
        text-decoration: underline; 
    }
}

/* ================================================= */
/*                    SITE FOOTER                    */
/* ================================================= */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0; /* Vertical spacing */
    font-family: 'Roboto', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Pushes left and right sides apart */
    align-items: center;
    gap: 30px; /* Gap for smaller screens when items wrap */
    flex-wrap: wrap; /* Allows items to wrap on small screens */
}

/* --- Left Side: Brand and Nav --- */
.footer-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allows nav to wrap below brand on small screens */
}

.footer-brand {
    font-family: "Turret Road", sans-serif; /* Special font as requested */
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: #aaa; /* Slightly dimmer than the brand */
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease-in-out;
}

.footer-nav a:hover {
    color: #fff;
}

/* --- Right Side: Social Icons --- */
.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon {
    display: inline-block; /* Needed for transform */
    transition: transform 0.2s ease-in-out;
}

.social-icon:hover {
    transform: translateY(-3px); /* Lifts icon on hover */
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Specific Icon Colors */
.social-linkedin svg {
    color: #0A66C2; /* LinkedIn Blue */
}
.social-x svg {
    color: #fff; /* White */
}
/* The Instagram gradient is defined directly in the SVG's <defs> tag */


/* --- Responsive Adjustments for Footer --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack all content vertically */
        gap: 30px;
    }

    .footer-left {
        flex-direction: column; /* Stack brand and nav */
        gap: 20px;
        text-align: center;
    }
}