 /* --- ROOT COLOR THEME (Unnoda Colors Inga Irukku) --- */
 :root {
     --primary-color: #952014;
     --secondary-color: #3a4736;
     --white-color: #ffffff;
     --black-color: #000000;
     --light-bg: #f8f9fa;
 }


 /* --- FOOTER SECTION STYLING --- */
 .footer-section {
     background-color: var(--white-color);
     padding-top: 30px;
     border-top: 1px solid #eee;
     /* Subtle separation from body */
     position: relative;
 }

 .footer-brand-wrapper {
     text-align: center;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
 }

 /* 1. Logo & Branding */
 .footer-logo {
     height: 100px !important;
     /* Big Logo */
     width: auto;
     object-fit: cover;
     margin-bottom: 10px;
 }

 .footer-brand-title {
     font-size: 32px;
     font-weight: 800;
     color: var(--secondary-color);
     /* Green */
     margin-bottom: 5px;
 }

 .footer-tagline {
     font-size: 11px;
     font-weight: 700;
     color: #555;
     letter-spacing: 1px;
 }

 /* Reusing Gradient Divider Logic */
 .brand-divider {
     width: 200px;
     /* Width for center logo */
     height: 3px;
     margin: 10px 0;
     background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--primary-color) 50%, rgba(255, 255, 255, 0) 100%);
 }

 /* 2. Widget Titles */
 .widget-title {
     font-size: 20px;
     font-weight: 700;
     color: var(--secondary-color);
     margin-bottom: 10px;
     position: relative;
     display: inline-block;
 }

 /* Small Red Line under Title */
 .title-line {
     width: 50px;
     height: 3px;
     background-color: var(--primary-color);
     margin-bottom: 25px;
     border-radius: 2px;
 }

 /* 3. Footer Links with Animation */
 .footer-links {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .footer-links li {
     margin-bottom: 15px;
 }

 .footer-links li a {
     color: #555;
     /* Default Grey */
     text-decoration: none;
     font-size: 15px;
     font-weight: 500;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
 }

 .footer-links li a i {
     color: #ccc;
     /* Icon Grey */
     margin-right: 10px;
     font-size: 14px;
     transition: all 0.3s ease;
 }

 /* HOVER EFFECT (The "Slide" Magic) */
 .footer-links li a:hover {
     color: var(--primary-color);
     /* Changes to Red */
     padding-left: 10px;
     /* Moves Right */
 }

 .footer-links li a:hover i {
     color: var(--primary-color);
     /* Icon Red */
 }

 /* 4. Bottom Divider (Full Width) */
 .footer-bottom-divider-top {
     width: 100%;
     height: 2px;
     background: linear-gradient(90deg, rgba(102, 27, 27, 0.788) 0%, #dddddd96 50%, rgba(102, 27, 27, 0.788) 100%);
 }

 /* 4. Bottom Divider (Full Width) */
 .footer-bottom-divider {
     width: 100%;
     height: 1px;
     background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ddd 50%, rgba(255, 255, 255, 0) 100%);
 }

 /* 5. Designer Link */
 .designer-link {
     color: var(--secondary-color);
     font-weight: 700;
     text-decoration: none;
     transition: 0.3s;
 }

 .designer-link:hover {
     color: var(--primary-color);
     text-decoration: underline;
 }

 /* RESPONSIVE ADJUSTMENTS */
 @media (max-width: 768px) {
     .footer-brand-title {
         font-size: 24px;
     }

     .brand-divider {
         width: 150px;
     }

     .footer-tagline {
         font-size: 9px;
     }

     .footer-widget {
         text-align: start;
         /* Center align on mobile */
     }

     .title-line {
         margin: 0 auto 20px auto;
         /* Center the line */
     }

     .footer-links li a {
         justify-content: start;
         /* Center links */
     }

     .footer-links li a:hover {
         padding-left: 0;
         /* Disable slide on mobile if desired, or keep it */
         transform: translateX(5px);
     }

     .ps-lg-5 {
         padding-left: 0 !important;
     }
 }

 /* --- MOBILE RESPONSIVE FIXES --- */
 @media (max-width: 768px) {

     /* 1. Title Line Left Align */
     .title-line {
         margin-left: 0 !important;
         /* Force Left */
         margin-right: auto !important;
     }

     /* 2. Text Left Align (Optional: If text is centered, move it left too) */
     .text-center {
         text-align: left !important;
     }

     /* --- EXCEPTION: Footer Logo --- */
     /* Idhu namba munnaadi center la vechom, adhu center laye irukkum */
     .footer-brand-wrapper,
     .footer-brand-wrapper .text-center {
         text-align: center !important;
         align-items: center !important;
     }

     /* Footer Logo keela ulla divider mattum center laye irukkum */
     .footer-brand-wrapper .brand-divider {
         margin: 10px auto !important;
     }
 }