/* ===== VARIABLES & BASE STYLES ===== */
:root {
    --primary-color: #014753;
    --secondary-color: #f5f5f5;
    --accent-color: #b89b5e;
    --dark-bg: #014753;
    --light-bg: #f7f4ed;
    --light-grey-border: #e6e2da;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--primary-color);
    line-height: 1.6;
    background-color: #fff;
}

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

/* ===== TYPOGRAPHY & COMPONENTS ===== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
/*     color: var(--primary-color); */
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.brand-highlight {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 0;
    color: white;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 0;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-accent:hover {
    background-color: #d1b876;
    color: var(--primary-color);
}

/* ===== LAYOUT SECTIONS ===== */
.hero-section {
    padding: 11rem 0 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.founder-section {
    background-color: var(--secondary-color);
    padding: 6rem 0;
}

.founder-quote {
    font-size: 1.25rem;
    font-style: italic;
    margin: 2rem 0;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

.how-work-section {
    background-color: #efece8;
    padding: 2rem 0;
}

/* ===== CARDS ===== */
.featured-work-card {
    border: none;
    border-radius: 0;
    height: 100%;
    transition: transform 0.3s ease;
}

.featured-work-card:hover {
    transform: translateY(-5px);
}

.article-card {
    transition: all 0.4s ease;
    border-radius: 10px;
    overflow: hidden;
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

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

.article-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ===== PROCESS STEPS ===== */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.links-list {
    list-style-type: none;
    padding-left: 0;
}

.links-list li {
    margin-bottom: 10px;
}

.links-list a {
    color: #e7ecf1;
    text-decoration: none;
}

.links-list a:hover {
    text-decoration: underline;
}

/* ===== LOGO STRIP ===== */
.logo-strip {
    overflow: hidden;
    background: #fff;
    padding: 30px 0;
}

.logo-track {
    display: flex;
    gap: 80px;
    animation: scroll 25s linear infinite;
}

.logo-track img {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== CAROUSELS ===== */
.custom-carousel-container,
.custom-carousel-container-v2 {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide,
.carousel-slide-v2 {
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    border-radius: 12px;
    transition: transform 0.4s ease-in-out;
    object-fit: cover;
}

.carousel-slide img:hover {
    transform: scale(1.03);
}

.carousel-btn,
.carousel-btn-v2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(1, 71, 83, 0.9);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover,
.carousel-btn-v2:hover {
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(1, 71, 83, 0.3);
}

.carousel-btn-prev,
.carousel-btn-prev-v2 {
    left: 20px;
}

.carousel-btn-next,
.carousel-btn-next-v2 {
    right: 20px;
}

.carousel-indicators-custom,
.carousel-indicators-custom-v2 {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.indicator,
.indicator-v2 {
    width: 12px;
    height: 12px;
    background-color: #d6d6d6;
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator-v2.active,
.indicator:hover,
.indicator-v2:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}





/* Form Section Background */
.subscribe-form {
  background-color: #014753; /* teal background */
  padding: 6px 0;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
    .subscribe-form p {
        width: 80%!important;
       
    }
}
.subscribe-form p {
  display: flex;
  width: 100%;
  gap: 0px;
  margin: 0;
}

.subscribe-form span[data-name="your-email"] {
  width: 100% !important;
  display: flex !important;
}

/* Make form full width */
.subscribe-form form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 700px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 0px;
}

/* Input Field */
.subscribe-form input[type="email"],
.subscribe-form input[type="text"] {
  flex: 1;
/*   min-width: 250px; */
  padding: 12px 15px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-family: 'FS_Joey-Regular', sans-serif;
  outline: none;
}

.subscribe-form input::placeholder {
  color: #cfdede;
}


/* Button Style */

.subscribe-form input[type="submit"] {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
/*   padding: 12px 25px; */
  cursor: pointer;
  transition: 0.3s;
  height: 50px;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Input field */
.subscribe-form input[type="text"],
.subscribe-form input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  height: 50px;
  border-right: none;
  font-size: 14px;
  box-sizing: border-box;
}

.subscribe-form input[type="submit"]:hover,
.subscribe-form button:hover {
  background-color: #fff;
  color: #00454f;
}

/* Error message positioning fix */
.wpcf7-not-valid-tip {
  position: absolute;
  bottom: -22px;
  left: 0;
  font-size: 13px;
  color: #ff6666;
}


/* --- 2. FORM SECTION: "Start a Conversation" --- */
        section.form-section {
            padding: 3rem 0;
            color: var(--primary-color);
        }
        section.form-section .form-container {
            background-color: #efece8;
            padding: 7rem;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            margin: 0 auto;
        }
        @media only screen and (max-width: 767px) {
			  section.form-section .form-container {
				background-color: #efece8;
				padding: 1rem !important;
				border-radius: 12px;
				box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
				margin: 0 auto;
			  }
			}
        section.form-section h2 {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }
        section.form-section .form-intro {
            color: var(--primary-color);
            line-height: 1.6;
            margin-bottom: 2rem;
        }
        
        /* Form Labels & Fields */
        section.form-section .form-label {
            font-weight: 600;
            color: var(--primary-color);
            margin-top: 1rem;
            margin-bottom: 0.2rem;
            font-size: 0.95rem;
        }
        section.form-section .form-control {
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 0.8rem 1rem;
            font-size: 1rem;
            color: var(--primary-color);
        }
        section.form-section .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.15rem rgba(184, 155, 94, 0.3);
        }
        section.form-section .form-text-placeholder {
            font-style: italic;
            color: #999;
            font-size: 0.9rem;
            margin-top: -0.5rem;
            margin-bottom: 0.5rem;
            display: block;
        }

        /* Type of Inquiry (Radio Buttons) */
        section.form-section .radio-group-title {
             margin-top: 1.5rem;
             margin-bottom: 0.5rem;
        }
        section.form-section .form-check {
            margin-bottom: 0.5rem;
        }
        section.form-section .form-check-input:checked {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
        }
        section.form-section .form-check-label {
             font-weight: 400; /* Regular weight for option text */
             cursor: pointer;
        }
        
        /* Submit Button */
        section.form-section .btn-submit {
            background-color: var(--accent-color);
            color: #fff;
            border: none;
            padding: 0.75rem 2rem;
            font-weight: 600;
            border-radius: 4px;
            transition: background-color 0.3s;
            margin-top: 2rem;
        }
        section.form-section .btn-submit:hover {
            background-color: #d1b876;
            color: #fff;
        }

		.form-check .form-check-input {
			float: none;
    		background: transparent;
   		    border: none;
   		    margin-left: -1.5em;
		}



/* ===== NOTES FROM NOOR SECTION ===== */
.notes-from-noor-section {
    position: relative;
    background: #fff url('https://www.transparenttextures.com/patterns/asfalt-light.png') repeat;
    padding: 80px 0;
}

.notes-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 40px;
}

.section-header {
    margin-bottom: 100px;
}

.section-header .icon {
    width: 28px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 4px;
    margin-bottom: 10px;
}

.notes-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.note-box {
    background: #f2f2f2;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    min-height: 120px;
    transition: all 0.3s ease;
}

.note-box:hover {
    background: #e9e9e9;
}

.note-box p {
    font-size: 14px;
    color: var(--primary-color);
    margin: 0;
}

.note-box .arrow {
    position: absolute;
    top: 10px;
    right: 14px;
    color: var(--primary-color);
    font-size: 20px;
}

.notes-right .noor-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* ===== TEMPLATE SPECIFIC STYLES ===== */
/* Hero & Slogan Sections */
section.hero-slogan {
    padding: 3rem 0 1rem;
    text-align: left;
}

section.hero-slogan h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Overview Sections */
section.overview-section {
    padding-bottom: 5rem;
}

section.overview-section img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Offerings Sections */
section.offerings-section {
    padding: 5rem 0;
}

.offering-block {
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.offering-block h3 {
/*     color: var(--primary-color); */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.offering-block h4 {
/*     color: var(--primary-color); */
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.offering-block p {
    line-height: 1.7;
    font-size: 1.05rem;
}

.offering-block ul {
    list-style: none;
    padding-left: 0;
}

.offering-block ul li {
    line-height: 2;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1.05rem;
}

.offering-block ul li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.small-text {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #555;
    display: block;
}

/* Philosophy Sections */
section.philosophy-section {
    padding: 5rem 0;
    background-color: var(--dark-bg);
    color: #fff;
}

section.philosophy-section h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

section.philosophy-section p.quote {
    font-style: italic;
    font-weight: 300;
    margin-top: 2rem;
    font-size: 1.15rem;
}

/* Content Layout */
.content-image-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 0;
}

.content-column {
    flex: 1;
    min-width: 60%;
}

.image-column {
    width: 35%;
    flex-shrink: 0;
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* ===== DATE PICKER ===== */
#datepicker {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    .notes-right {
        order: -1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .notes-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 11rem 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .logo-track {
        gap: 40px;
    }
    
    .logo-track img {
        max-height: 60px;
    }
    
    .carousel-btn,
    .carousel-btn-v2 {
        font-size: 1.1rem;
        padding: 8px 10px;
    }
    
    .indicator,
    .indicator-v2 {
        width: 10px;
        height: 10px;
    }
    
    .content-image-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-column,
    .image-column {
        width: 100%;
        min-width: 100%;
    }
    
    .content-column {
        order: 1;
    }
    
    .image-column {
        order: 2;
        margin-top: 15px;
    }
    
    /* Mobile adjustments for template sections */
    section.overview-section .row,
    section.hero-slogan .row {
        flex-direction: column-reverse;
    }
    
    section.overview-section img {
        margin-bottom: 2rem;
    }
    
    section.hero-slogan h1 {
        text-align: center;
    }
    
    .offering-block img {
        margin-top: 1.5rem;
    }
    
    .subscribe-form form {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 11rem 0 1rem;
    }
    
    .logo-slider {
        margin-top: 70px;
    }
    
    .btn-primary,
    .btn-outline-primary,
    .btn-accent {
        padding: 0.6rem 1.5rem;
        width: 100%;
        text-align: center;
    }
    
    .newsletter-form,
    .subscribe-form {
        max-width: 100%;
    }
}

@media (min-width: 1400px) { 

	.hero-section {
        padding: 11rem 0 1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logo-track {
        animation: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .carousel-btn,
    .carousel-indicators-custom {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .container {
        max-width: 100%;
    }
}


/* Active menu item styling */
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-item.current-menu-item .nav-link {
    color: white;
    background-color: var(--primary-color);
    font-weight: 600;
}

.navbar-nav .nav-item.active .nav-link::after,
/* .navbar-nav .nav-item.current-menu-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
	border-radius: 50%;
} */

/* Custom styling for home page accordion */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--accent-color);
    box-shadow: none;
}

/* Custom styling for the Vision & Mission accordion */
.vision .accordion-button {
	background-color: var(--accent-color);
	color: white;
	font-weight: 500;
	border-radius: 0.375rem 0.375rem 0 0 !important;
}

.vision .accordion-button:not(.collapsed) {
	background-color: var(--accent-color);
	color: white;
	box-shadow: none;
}

.vision .accordion-button:focus {
	box-shadow: 0 0 0 0.25rem rgba(184, 155, 94, 0.25);
	border-color: var(--accent-color);
}

.vision .accordion-button::after {
	filter: brightness(0) invert(1);
}

.vision .accordion-button:not(.collapsed)::after {
	filter: brightness(0) invert(1);
}

.vision .accordion-item {
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	overflow: hidden;
	margin-bottom: 1rem;
}

.vision .accordion-body {
	padding: 1.5rem;
	background-color: #f8f9fa;
}

/* Section styling */
.vision {
	padding: 3rem 0;
	background-color: #fff;
}

/* Sample content styling */
.sample-content {
	padding: 1.5rem;
	background-color: #f8f9fa;
	border-radius: 0 0 0.375rem 0.375rem;
	min-height: 150px;
}



/* new card css */

  /* ---------- Layout (desktop) ---------- */
  .notes-section {
    display:flex;
    gap:40px;
    padding:40px 48px;
    align-items:flex-start;
    max-width:1280px;
    margin:0 auto;
    box-sizing:border-box;
  }

  .left-side{ flex:1.2; min-width:300px; }
  .right-side{ flex:1; min-width:280px; }


  .left-side .desc{
    max-width:380px;
    line-height:1.6;
    font-size:14px;
    color:var(--text);
    margin-bottom:28px;
  }

  /* Cards column */
  .cards{
    display:flex;
    flex-direction:column;
    gap:20px;
  }

  .card{
    border-radius:12px;
    position:relative;
    min-height:180px;
    box-sizing:border-box;
  }

  .card-large{ min-height:250px; }


  .arrow{
    position:absolute;
    top:18px;
    right:18px;
    font-size:26px;
    color:var(--teal);
    user-select:none;
    pointer-events:none;
  }

  .bottom-row{
    display:flex;
    gap:20px;
  }

  .bottom-row .card{ flex:1; min-height:160px; }

  /* Right image */
  .right-side img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:18px;
    display:block;
    min-height:420px; /* ensures tall image at desktop */
  }

  /* ---------- Responsive: Tablet (<= 900px) ---------- */
  @media (max-width:900px){
    .notes-section{
      gap:24px;
      padding:28px;
    }

    .left-side h2{ font-size:30px; }
    .left-side .desc{ max-width:100%; font-size:13.5px; margin-bottom:20px;}

    .card{ padding:22px; border-radius:10px; }
    .card-large{ min-height:200px; }
    .bottom-row .card{ min-height:150px; }

    .right-side img{ min-height:360px; border-radius:14px; }
  }

  /* ---------- Responsive: Mobile (<= 600px) ---------- */
  @media (max-width:600px){
    /* stack content vertically; image first */
    .notes-section{
      flex-direction:column;
      padding:18px;
      gap:20px;
      align-items:stretch;
    }

    /* Make image appear first (change order if you prefer) */
    .right-side{ order: -1; }

    .left-side{ order: 0; }

    .left-side h2{ font-size:24px; margin-bottom:10px; }
    .left-side .desc{ font-size:13px; margin-bottom:14px; }

    .cards{ gap:14px; }
    .card{ padding:18px; min-height:120px; border-radius:10px; }
    .card-large{ min-height:150px; }
    .bottom-row{ flex-direction:column; gap:12px; }

    .arrow{
      top:12px; right:12px; font-size:20px;
    }

    .right-side img{
      width:100%;
      height:auto; /* allow image to scale naturally on small screens */
      object-fit:cover;
      min-height:200px;
      border-radius:12px;
    }
  }

  /* Optional small polish: make tap target larger for the arrow if it becomes interactive later */
  .card .arrow-touch-area{
    position:absolute;
    top:0; right:0;
    width:56px; height:56px;
    display:flex; align-items:center; justify-content:center;
  }