:root{
  --red:#d71920;
  --black:#08080b;
  --muted:#666;
  --soft:#f6f6f7;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Carlito","Merriweather","Cambria","Atlantis Found",serif;
  color:#09090b;
  background:#fff;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(1180px,92%);
  margin:auto;
}

.narrow{
  width:min(920px,92%);
}

/* =========================
   TOP HEADER / NAVBAR
   Change background here
========================= */

.navbar{
  position:fixed;
  inset:0 0 auto;
  z-index:99;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 4%;
  background:#fff; /* White background */
  border-bottom:1px solid rgba(0,0,0,.1);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:red; /* Red text */
  font-weight:900;
}

.brand img{
  width:150px;
  height:42px;
  object-fit:contain;
  background:#fff;
  border-radius:8px;
}

.nav-links{
  display:flex;
  gap:25px;
  align-items:center;
}

.nav-links a{
  color:red; /* Red text */
  font-size:14px;
  font-weight:700;
}

.nav-links a:hover{
  color:darkred;
}

.menu-btn{
  display:none;
  background:none;
  border:0;
  color:red; /* Red menu icon */
  font-size:28px;
}
/* =========================
   HERO
========================= */

.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 85% 10%,rgba(215,25,32,.42),transparent 32%),
             linear-gradient(130deg,rgba(0,0,0,.75),rgba(0,0,0,.88));
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:50px;
  align-items:center;
  padding-top:90px;
}

.pill,
.eyebrow{
  display:inline-block;
  color:#fff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  padding:10px 16px;
  border-radius:999px;
  font-weight:800;
}

.hero h1{
  font-size:clamp(44px,7vw,82px);
  line-height:1.03;
  margin:18px 0;
  color:#fff;
  letter-spacing:-.05em;
}

.hero-text>p:last-of-type{
  color:#e5e5e5;
  font-size:20px;
  line-height:1.7;
  max-width:720px;
}

.btn{
  display:inline-flex;
  padding:17px 27px;
  border-radius:999px;
  font-weight:900;
  margin:8px 10px 0 0;
}

.primary{
  background:var(--red);
  color:white;
}

.ghost{
  border:1px solid rgba(255,255,255,.35);
  color:white;
  background:rgba(255,255,255,.08);
}

.hero-card{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  border-radius:34px;
  padding:24px;
  backdrop-filter:blur(15px);
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}

.main-logo{
  width:100%;
  background:white;
  border-radius:22px;
  padding:18px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:18px;
}

.stats div{
  background:white;
  border-radius:18px;
  padding:22px;
}

.stats strong{
  font-size:31px;
  display:block;
}

.stats span{
  font-size:13px;
  color:#666;
}

/* =========================
   SECTIONS
========================= */

.section{
  padding:105px 0;
}

.soft{
  background:var(--soft);
}

.dark{
  background:#08080b;
  color:#fff;
}

.section-title{
  text-align:center;
  max-width:820px;
  margin:0 auto 50px;
}

.section-title span{
  color:var(--red);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.32em;
  font-size:13px;
}

.section-title h2{
  font-size:clamp(32px,5vw,55px);
  line-height:1.05;
  margin:14px 0;
  letter-spacing:-.04em;
}

.section-title p{
  color:#62626a;
  line-height:1.8;
  font-size:17px;
}

.section-title.light p{
  color:#c8c8ce;
}

.section-title.light h2{
  color:#fff;
}

/* =========================
   CARDS
========================= */

.cards{
  display:grid;
  gap:24px;
}

.three{
  grid-template-columns:repeat(3,1fr);
}

.card{
  background:#fff;
  border:1px solid #eee;
  border-radius:28px;
  padding:34px;
  box-shadow:0 20px 50px rgba(0,0,0,.06);
}

.card h3{
  font-size:25px;
}

.card p{
  color:#666;
  line-height:1.75;
}

/* =========================
   SUBSIDIARIES
========================= */

.subsidiary-card{
  overflow:hidden;
  border-radius:32px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.12);
  transition:.35s;
}

.subsidiary-card:hover{
  transform:translateY(-8px);
}

.subsidiary-card img{
  height:225px;
  width:100%;
  object-fit:contain;
  object-position:center;
  background:#fff;
  padding:18px;
  display:block;
}

.subsidiary-card div{
  padding:28px;
}

.subsidiary-card p{
  color:#ccc;
  line-height:1.7;
}

.subsidiary-card a{
  display:inline-block;
  margin-top:18px;
  background:#fff;
  color:#000;
  padding:13px 20px;
  border-radius:99px;
  font-weight:900;
}

/* =========================
   PROJECTS
========================= */

.filter{
  text-align:center;
  margin-bottom:28px;
}

.filter button{
  border:0;
  border-radius:99px;
  padding:11px 20px;
  margin:5px;
  font-weight:900;
  cursor:pointer;
}

.filter .active{
  background:var(--red);
  color:#fff;
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.project-card{
  position:relative;
  height:320px;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 25px 55px rgba(0,0,0,.14);
}

.project-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.6s;
}

.project-card:hover img{
  transform:scale(1.08);
}

.project-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.82),transparent);
}

.project-card div{
  position:absolute;
  z-index:1;
  bottom:0;
  padding:25px;
  color:#fff;
}

.project-card span{
  color:#ffb7b7;
  font-weight:900;
  letter-spacing:.18em;
  font-size:12px;
}

/* =========================
   VIDEO
========================= */

.video-box{
  border-radius:32px;
  overflow:hidden;
  background:#000;
  box-shadow:0 25px 70px rgba(0,0,0,.22);
}

.video-box iframe{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  border:0;
}

/* =========================
   PARTNERS
========================= */

 .partner-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:50px;
}

.partner-card{
  min-height:220px;
  border-radius:28px;
  background:#f8f8f8;
  border:1px solid #ececec;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px 20px;
  transition:0.35s ease;
}

.partner-card img{
  width:100%;
  max-width:180px;
  height:90px;
  object-fit:contain;
  object-position:center;
  display:block;
  margin:0 auto 20px;
}

.partner-card span{
  font-size:1.7rem;
  font-weight:800;
  color:#555;
  line-height:1.3;
}

.partner-card:hover{
  transform:translateY(-8px);
  background:#fff;
  box-shadow:0 20px 45px rgba(0,0,0,0.08);
}

.partner-card:hover span{
  color:var(--red);
}

@media(max-width:992px){
  .partner-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .partner-grid{
    grid-template-columns:1fr;
  }
}
 
/* =========================
   TEAM
========================= */

.president{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:30px;
  background:#fff;
  border-radius:34px;
  padding:32px;
  box-shadow:0 25px 70px rgba(0,0,0,.08);
  align-items:center;
}

.president div{
  min-height:330px;
  border-radius:26px;
  background:linear-gradient(135deg,var(--red),#07070a);
  color:#fff;
  padding:35px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.president span{
  letter-spacing:.22em;
  text-transform:uppercase;
  font-size:13px;
}

.president h3{
  font-size:42px;
  margin:12px 0;
}

.president>p{
  line-height:1.85;
  color:#555;
  font-size:17px;
}

.team-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:28px;
}

.team-card{
  background:#fff;
  border-radius:28px;
  padding:28px;
  box-shadow:0 20px 50px rgba(0,0,0,.06);
}

.team-photo{
  width:100%;
  height:220px;
  border-radius:22px;
  background:#f7f7f8;
  border:1px solid #eee;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-bottom:22px;
}

.team-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.team-card h3{
  margin-bottom:5px;
}

.team-card span{
  color:var(--red);
  font-weight:800;
}

.team-card p{
  color:#666;
  line-height:1.7;
}

/* =========================
   WHY CHOOSE US
========================= */

.value-cards div{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.12);
  border-radius:25px;
  padding:30px;
  font-size:22px;
  font-weight:900;
}

/* =========================
   CONTACT
========================= */

.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:45px;
  align-items:start;
}

.contact-grid h2{
  font-size:48px;
  line-height:1.06;
}

.contact-grid p,
.contact-grid li{
  color:#62626a;
  line-height:1.8;
}

.contact-form{
  background:#fff;
  border-radius:32px;
  padding:30px;
  box-shadow:0 25px 70px rgba(0,0,0,.08);
  display:grid;
  gap:14px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  border:1px solid #ddd;
  border-radius:17px;
  padding:16px;
  font:inherit;
}

.contact-form textarea{
  min-height:130px;
}

.contact-form button{
  border:0;
  border-radius:99px;
  background:var(--red);
  color:#fff;
  font-weight:900;
  padding:17px;
}

.map{
  height:190px;
  background:linear-gradient(135deg,#eee,#fff);
  border-radius:20px;
  display:grid;
  place-items:center;
  color:#888;
}

/* =========================
   FOOTER
========================= */

footer{
  background:#000;
  color:#fff;
  padding:60px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1.2fr;
  gap:30px;
}

.footer-grid img{
  width:210px;
  background:#fff;
  border-radius:8px;
}

.footer-grid a{
  display:block;
  color:#aaa;
  margin:10px 0;
}

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

.socials{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.newsletter{
  display:flex;
  background:#fff;
  border-radius:99px;
  overflow:hidden;
  margin-top:18px;
}

.newsletter input{
  min-width:0;
  flex:1;
  border:0;
  padding:13px;
}

.newsletter button{
  border:0;
  background:var(--red);
  color:#fff;
  font-weight:900;
  padding:0 18px;
}

.copy{
  text-align:center;
  color:#777;
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:22px;
  width:min(1180px,92%);
  margin:40px auto 0;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp{
  position:fixed;
  right:22px;
  bottom:22px;
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#20c763;
  color:#fff;
  font-size:25px;
  box-shadow:0 18px 45px rgba(0,0,0,.25);
  z-index:90;
}

/* =========================
   ANIMATION
========================= */

.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:.75s ease;
}

.reveal.show{
  opacity:1;
  transform:none;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){
  .menu-btn{
    display:block;
  }

  .nav-links{
    display:none;
    position:absolute;
    top:70px;
    left:0;
    right:0;
    background:#000;
    padding:18px 5%;
    flex-direction:column;
    align-items:flex-start;
  }

  .nav-links.open{
    display:flex;
  }

  .hero-grid,
  .president,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .three,
  .project-grid,
  .partner-grid,
  .team-grid,
  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .hero{
    padding:60px 0;
  }

  .brand img{
    width:120px;
  }
}

@media(max-width:620px){
  .three,
  .project-grid,
  .partner-grid,
  .team-grid,
  .footer-grid,
  .stats{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:42px;
  }

  .section{
    padding:75px 0;
  }

  .contact-grid h2{
    font-size:36px;
  }

  .brand span{
    display:none;
  }
}


/* =========================
   SUBSIDIARY SUBPAGES
========================= */
.subpage-hero{
  min-height:72vh;
  display:flex;
  align-items:center;
  background:linear-gradient(135deg,#111,#2a0000);
  color:#fff;
  padding-top:110px;
}
.subpage-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}
.subpage-logo-frame{
  background:#fff;
  border-radius:34px;
  min-height:340px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  box-shadow:0 25px 70px rgba(0,0,0,.25);
}
.subpage-logo-frame img{
  width:100%;
  max-height:260px;
  object-fit:contain;
  object-position:center;
}
.subpage-content h1{
  font-size:clamp(36px,5vw,64px);
  line-height:1.05;
  margin:16px 0;
}
.subpage-content p{
  color:#e7e7e7;
  line-height:1.8;
  font-size:18px;
}
.back-link{
  display:inline-block;
  margin-bottom:10px;
  color:#fff;
  font-weight:900;
}
@media(max-width:900px){
  .subpage-grid{grid-template-columns:1fr;}
  .subpage-hero{padding-top:130px;}
}


/* Subpage visibility fix */
.subpage-hero{
  min-height:80vh;
  display:flex;
  align-items:center;
  padding:130px 0 70px;
  background:linear-gradient(135deg,#08080b 0%,#17171c 50%,#d71920 140%);
  color:#fff;
}
.subpage-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
}
.subpage-content h1{
  font-size:clamp(34px,5vw,62px);
  line-height:1.05;
  margin:16px 0;
  color:#fff;
}
.subpage-content p{
  color:#e8e8e8;
  font-size:18px;
  line-height:1.7;
}
.back-link{
  display:inline-block;
  color:#fff;
  font-weight:800;
  margin-bottom:18px;
}
.subpage-logo-frame{
  background:#fff;
  min-height:300px;
  border-radius:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  box-shadow:0 28px 70px rgba(0,0,0,.35);
}
.subpage-logo-frame img{
  max-width:100%;
  max-height:240px;
  object-fit:contain;
  display:block;
}
@media(max-width:850px){
  .subpage-grid{grid-template-columns:1fr;}
  .subpage-logo-frame{min-height:220px;}
}


/* Google map embed */
.map{height:auto;min-height:300px;background:transparent;border-radius:20px;overflow:hidden;}
.map iframe{width:400px;height:300px;display:block;border:0;margin:auto;}
@media(max-width:850px){
  .map{min-height:360px;}
  .map iframe{height:360px;}
}


/* Requested general font styling */
h1,h2,h3,h4,.brand,.nav-links a,.btn{
  font-family:"Merriweather","Cambria","Atlantis Found",serif;
}
p,a,span,li,input,button{
  font-family:"Carlito","Merriweather","Cambria",serif;
}


/* Final requested visual updates */
.site-preloader{
  position:fixed;
  inset:0;
  z-index:9999;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:opacity .7s ease, visibility .7s ease;
}
.site-preloader img{
  width: 250px;
  height:auto;
  animation:logoRoll 1.4s linear infinite;
}
.site-preloader.hide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
@keyframes logoRoll{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}

.animated-hero .hero-animate-text .pill,
.animated-hero .hero-animate-text h1,
.animated-hero .hero-animate-text p,
.animated-hero .hero-animate-text .hero-actions{
  opacity:0;
  transform:translateY(28px);
  animation:heroTextUp .85s ease forwards;
}
.animated-hero .hero-animate-text h1{animation-delay:.25s;}
.animated-hero .hero-animate-text p{animation-delay:.45s;}
.animated-hero .hero-animate-text .hero-actions{animation-delay:.65s;}
@keyframes heroTextUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.about-red{
  background:#d71920 !important;
  color:#fff;
}
.about-red .section-title span,
.about-red .section-title h2,
.about-red .section-title p,
.about-red p,
.about-red h2,
.about-red h3,
.about-red strong{
  color:#fff !important;
}
.about-red .card{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
}
.about-red .card p{
  color:#fff !important;
}

.team-social-icons{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:-12px auto 14px;
  position:relative;
  z-index:2;
}
.team-social-icons a{
  width:28px;
  height:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#d71920;
  color:#fff;
  font-size:12px;
  font-weight:900;
  box-shadow:0 6px 14px rgba(0,0,0,.15);
}
.team-social-icons a:hover{
  transform:translateY(-2px);
}


/* Subsidiary update placeholders */
.subsidiaries-grid{
  align-items:stretch;
}
.subsidiary-card a{
  display:block;
  height:100%;
}
.subsidiary-logo-frame{
  width:100%;
  height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:22px;
  margin-bottom:18px;
  padding:18px;
  overflow:hidden;
}
.subsidiary-logo-frame img{
  max-width:100%;
  max-height:130px;
  object-fit:contain;
  display:block;
}
.logo-placeholder::after{
  content:attr(data-placeholder);
  color:#777;
  border:2px dashed #ccc;
  border-radius:16px;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  background:#f8f8f8;
}
.subpage-logo-frame.logo-placeholder::after{
  min-height:240px;
}
@media(max-width:900px){
  .three{
    grid-template-columns:1fr;
  }
}


/* Hero headline text animation */
.headline-animated{
  display:inline-block;
  animation:headlineFloat 3s ease-in-out infinite;
}
@keyframes headlineFloat{
  0%,100%{
    transform:translateY(0) scale(1);
    text-shadow:0 0 0 rgba(255,255,255,0);
  }
  50%{
    transform:translateY(-8px) scale(1.015);
    text-shadow:0 12px 30px rgba(255,255,255,.18);
  }
}


/* Final requested alignment and works updates */
.subsidiaries-grid,
.partners-grid,
#projectGrid{
  justify-content:center;
  align-items:center;
}
.subsidiaries-grid .card,
.partners-grid .card,
#projectGrid .project-card{
  text-align:center;
}
.partners-grid{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}
.partner-logo-frame{
  width:100%;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:22px;
  margin-bottom:18px;
  overflow:hidden;
}
.partner-logo-frame::after{
  content:attr(data-placeholder);
  color:#777;
  border:2px dashed #ccc;
  border-radius:16px;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  background:#f8f8f8;
}
.subsidiary-works-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  justify-content:center;
  align-items:center;
}
.work-photo{
  height:180px;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 14px 35px rgba(0,0,0,.08);
}
.work-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media(max-width:1000px){
  .subsidiary-works-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:620px){
  .subsidiary-works-grid{grid-template-columns:1fr;}
}


/* President spotlight after hero */
.president-spotlight-section{
  background:#fff;
}
.president-spotlight-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:45px;
  align-items:center;
}
.section-title.left{
  text-align:left;
  margin:0 0 22px;
}
.president-spotlight-content h3{
  font-size:clamp(28px,4vw,44px);
  margin:0 0 8px;
  color:#09090b;
}
.president-role{
  color:#d71920 !important;
  font-weight:900;
  margin-bottom:22px;
}
.president-spotlight-content p{
  line-height:1.85;
  font-size:17px;
}
.president-photo-card{
  background:#fff;
  border-radius:30px;
  padding:22px;
  box-shadow:0 24px 70px rgba(0,0,0,.12);
}
.president-photo-placeholder{
  min-height:420px;
  border:2px dashed #ccc;
  border-radius:24px;
  background:#f8f8f8;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#777;
  font-weight:900;
  font-size:20px;
}

/* Final preloader: grow and fade immediately, no rolling */
.site-preloader{
  position:fixed;
  inset:0;
  z-index:9999;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  animation:preloaderFadeOut .55s ease forwards;
  animation-delay:.55s;
}
.site-preloader img{
  width:240px !important;
  height:auto;
  animation:logoGrowFade .9s ease forwards !important;
}
.site-preloader.hide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
@keyframes logoGrowFade{
  0%{transform:scale(.72);opacity:0;}
  45%{transform:scale(1.12);opacity:1;}
  100%{transform:scale(1.35);opacity:0;}
}
@keyframes preloaderFadeOut{
  to{opacity:0;visibility:hidden;pointer-events:none;}
}
@media(max-width:850px){
  .president-spotlight-grid{
    grid-template-columns:1fr;
  }
  .section-title.left,
  .president-spotlight-content{
    text-align:center;
  }
  .president-photo-placeholder{
    min-height:320px;
  }
}


/* Screenshot-style President Spotlight */
.president-showcase{
  padding-top:40px;
  background:#f4f4f4;
}

.president-showcase-wrap{
  background:#fff;
  border-radius:36px;
  padding:36px;
  display:grid;
  grid-template-columns:520px 1fr;
  gap:34px;
  align-items:center;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.president-left{
  width:100%;
}

.president-left-inner{
  background:linear-gradient(180deg,#d71920 0%, #74000b 100%);
  border-radius:34px;
  padding:42px 38px;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.president-mini-title{
  font-size:14px;
  letter-spacing:.25em;
  font-weight:800;
  margin-bottom:18px;
}

.president-name{
  font-size:64px;
  line-height:1.02;
  margin:0 0 28px;
  color:#fff;
}

.president-position{
  font-size:17px;
  font-weight:700;
  margin-bottom:36px;
  color:#fff;
}

.president-image-card{
  width:100%;
  max-width:310px;
  margin:auto;
  border-radius:28px;
  background:linear-gradient(180deg,#d71920 0%, #2b0004 100%);
  padding:26px;
  box-shadow:0 20px 40px rgba(0,0,0,.25);
}

.president-image-placeholder{
  height:300px;
  border-radius:22px;
  border:2px dashed rgba(255,255,255,.35);
  background:#f5f5f5;
  color:#777;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

.president-right{
  font-size:18px;
  line-height:1.9;
  color:#444;
}

.president-right p{
  margin-bottom:20px;
}

@media(max-width:1100px){
  .president-showcase-wrap{
    grid-template-columns:1fr;
  }

  .president-name{
    font-size:52px;
  }
}

@media(max-width:700px){

  .president-showcase{
    padding-top:10px;
  }

  .president-showcase-wrap{
    padding:18px;
    border-radius:24px;
  }

  .president-left-inner{
    padding:28px 24px;
  }

  .president-name{
    font-size:42px;
  }

  .president-right{
    font-size:16px;
    line-height:1.8;
  }

  .president-image-card{
    max-width:100%;
  }
}


/* Furniture works update */
.subsidiary-works-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  justify-content:center;
  align-items:center;
}
.work-photo{
  height:240px;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 14px 35px rgba(0,0,0,.08);
}
.work-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media(max-width:900px){
  .subsidiary-works-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:600px){
  .subsidiary-works-grid{
    grid-template-columns:1fr;
  }
}


/* CEO image styling */
.president-real-image{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:22px;
  display:block;
  background:#f5f5f5;
}


/* Modern footer and subsidiary socials */
.modern-socials{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.modern-socials a{
  width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#d71920;
  color:#fff;
  transition:.25s ease;
}
.modern-socials a:hover{
  transform:translateY(-3px);
  background:#9d0f15;
}
.modern-socials svg{
  width:18px;
  height:18px;
  fill:currentColor;
}
.partner-logo-frame{
  width:100%;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:22px;
  margin-bottom:18px;
  overflow:hidden;
}
.partner-logo-frame::after{
  content:attr(data-placeholder);
  color:#777;
  border:2px dashed #ccc;
  border-radius:16px;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  background:#f8f8f8;
}
.partners-grid{
  align-items:stretch;
}
.partner-card{
  overflow:hidden;
}
.subsidiary-social-section{
  padding-top:20px;
}
.subsidiary-social-box{
  max-width:720px;
  margin:0 auto;
  text-align:center;
  background:#fff;
  border-radius:26px;
  padding:34px;
  box-shadow:0 18px 50px rgba(0,0,0,.08);
}
.subsidiary-social-box .modern-socials{
  justify-content:center;
  margin-top:18px;
}
.subsidiary-social-box h3{
  margin:0 0 8px;
}
.subsidiary-social-box p{
  color:#666;
  line-height:1.7;
}
footer .modern-socials{
  margin-top:10px;
}


/* Social icon final override */
.socials.modern-socials a{
  font-size:0 !important;
  padding:0 !important;
  text-decoration:none !important;
}
.socials.modern-socials svg{
  display:block !important;
}


/* Mobile friendly final polish */
@media(max-width:900px){
  html, body{
    width:100%;
    overflow-x:hidden;
  }

  .container{
    width:92% !important;
  }

  .navbar{
    padding:12px 4% !important;
  }

  .brand img{
    width:120px !important;
    height:auto !important;
  }

  .menu-btn{
    display:block !important;
  }

  .nav-links{
    position:absolute;
    top:70px;
    left:4%;
    right:4%;
    display:none !important;
    flex-direction:column;
    gap:0 !important;
    background:#fff;
    border-radius:18px;
    padding:14px;
    box-shadow:0 18px 45px rgba(0,0,0,.15);
    z-index:999;
  }

  .nav-links.open{
    display:flex !important;
  }

  .nav-links a{
    width:100%;
    padding:13px 10px;
    text-align:center;
    border-bottom:1px solid rgba(0,0,0,.06);
  }

  .hero{
    min-height:auto !important;
    padding:120px 0 70px !important;
  }

  .hero-grid,
  .subpage-grid,
  .president-showcase-wrap,
  .president-spotlight-grid,
  .footer-grid{
    grid-template-columns:1fr !important;
  }

  .hero h1,
  .hero-text h1{
    font-size:42px !important;
    line-height:1.12 !important;
  }

  .hero-text,
  .subpage-content,
  .president-right,
  .president-left{
    text-align:center !important;
  }

  .hero-actions{
    justify-content:center !important;
  }

  .btn{
    width:100%;
    max-width:280px;
    justify-content:center;
    margin:8px auto !important;
  }

  .section{
    padding:65px 0 !important;
  }

  .section-title h2{
    font-size:34px !important;
  }

  .three,
  .cards,
  .subsidiaries-grid,
  .partners-grid,
  .team-grid,
  #projectGrid,
  .subsidiary-works-grid{
    grid-template-columns:1fr !important;
    display:grid !important;
    gap:22px !important;
  }

  .card,
  .project-card,
  .team-card,
  .partner-card{
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
  }

  .subpage-logo-frame,
  .subsidiary-logo-frame,
  .partner-logo-frame{
    min-height:180px !important;
    height:auto !important;
  }

  .subpage-logo-frame img,
  .subsidiary-logo-frame img,
  .partner-logo-frame img{
    max-height:160px !important;
  }

  .work-photo,
  .project-card img{
    height:240px !important;
  }

  .president-showcase-wrap{
    padding:18px !important;
    border-radius:24px !important;
  }

  .president-left-inner{
    padding:28px 22px !important;
  }

  .president-name{
    font-size:40px !important;
  }

  .president-image-card{
    max-width:100% !important;
  }

  .president-real-image,
  .president-image-placeholder{
    height:300px !important;
  }

  .map iframe{
    width:100% !important;
    height:300px !important;
  }

  .contact-grid,
  .contact-wrap{
    grid-template-columns:1fr !important;
  }

  input, textarea, select{
    width:100% !important;
  }
}

@media(max-width:480px){
  .hero h1,
  .hero-text h1{
    font-size:34px !important;
  }

  .section-title h2{
    font-size:30px !important;
  }

  .president-name{
    font-size:34px !important;
  }

  .work-photo,
  .project-card img{
    height:210px !important;
  }

  .brand img{
    width:105px !important;
  }
}




/* REAL FIX: Team section mobile layout */
.team-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:28px;
  max-width:1120px;
  margin:28px auto 0;
  align-items:stretch;
}

.team-grid .team-card{
  width:100%;
  max-width:none;
  overflow:visible;
}

@media(min-width:901px){
  .team-grid .team-card:nth-child(4){
    grid-column:1 / span 1;
    margin-left:55%;
  }
  .team-grid .team-card:nth-child(5){
    grid-column:3 / span 1;
    margin-left:-55%;
  }
}

@media(max-width:900px){
  #team{
    overflow:visible !important;
  }

  #team .container{
    width:92% !important;
    max-width:520px !important;
    margin:0 auto !important;
  }

  #team .team-grid{
    display:flex !important;
    flex-direction:column !important;
    gap:26px !important;
    width:100% !important;
    max-width:520px !important;
    margin:28px auto 0 !important;
    overflow:visible !important;
  }

  #team .team-card{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 auto !important;
    padding:26px 20px !important;
    border-radius:28px !important;
    overflow:visible !important;
    text-align:center !important;
    box-sizing:border-box !important;
  }

  #team .team-photo{
    width:170px !important;
    height:170px !important;
    min-width:170px !important;
    min-height:170px !important;
    max-width:170px !important;
    max-height:170px !important;
    margin:0 auto 16px !important;
    border-radius:24px !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#f7f7f8 !important;
  }

  #team .team-photo img{
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center !important;
    display:block !important;
    margin:0 !important;
    border-radius:0 !important;
  }

  #team .team-social-icons{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    margin:12px auto 18px !important;
    width:100% !important;
  }

  #team .team-social-icons a{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
    border-radius:50% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:12px !important;
    line-height:1 !important;
    padding:0 !important;
  }

  #team .team-card h3{
    font-size:28px !important;
    line-height:1.18 !important;
    margin:8px 0 8px !important;
    text-align:center !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
  }

  #team .team-card span{
    display:block !important;
    font-size:20px !important;
    line-height:1.35 !important;
    margin-bottom:14px !important;
    text-align:center !important;
    color:var(--red) !important;
  }

  #team .team-card p{
    font-size:17px !important;
    line-height:1.75 !important;
    text-align:center !important;
    margin:0 !important;
    color:#666 !important;
  }
}

@media(max-width:420px){
  #team .container{
    width:90% !important;
  }

  #team .team-card{
    padding:22px 16px !important;
  }

  #team .team-photo{
    width:150px !important;
    height:150px !important;
    min-width:150px !important;
    min-height:150px !important;
  }

  #team .team-card h3{
    font-size:25px !important;
  }

  #team .team-card span{
    font-size:18px !important;
  }

  #team .team-card p{
    font-size:16px !important;
  }
}
